Swaroop Bappanad
@SwaroopBappanad
I honestly have no idea what I'm doing.
Hey guys! I spent a day (most of it when I was supposed to be doing schoolwork lol) making this, and I put a LOT of effort into it. Normally, I would
HTML, CSS, JS
Hi, its @SwaroopBappanad. I wanted to learn cloud computing with JS, and tried to learn MongoDB, but apparently it only works with Node.js. Is it poss
realTronsi When you access a database, you need a key (think of it as a password to the database). If you have the key, you can access the database. When you look at any website though, you can always see the frontend code, so by storing the key in the backend, people can't just mess with your database.2 years ago
Coder100 ok, so node.js is backend, no real programmer would find any use putting a backend in a frontend language, and it wouldn't be safe either (a hacker could easily destroy any website).
So treat node.js as a backend, and be thankful where it is.
HTML ONLY
Ok, here's my database advice, it's super easy, and I'm sure you will love how great it works on frontend!
firestore2 years ago
Hi there! I was wondering... Is there a function that stops and delays code processing 5, just like time.sleep(seconds) in python? Also, what is it?
HTML, CSS, JS
I have a folder with all my repls on it. It contains all the work I've done over a year and a half, and I want to back it up somehow (good memories I
Coder100 For example, in your repls page:
image
as you can see we do not have access to the repls being sorted into folders. Neither will anyone else, even if they were invited to multiplayer, because it's kind of ambiguous to have:
multiplayer/
foldername/
repl
who is the owner of foldername?3 years ago
Hello, It's me again! I say that like I'm a popular programmer lol
Anyway, I really do want to code something, but my brain just seems to be out of i
Coder100 Hi, it's no fun having no ideas! Here are some ideas that should be applicable in python or JS
Pacman
Pong
Typing Test
File Explorer
Music Player
Tetris
Sudoku
Space Invaders
Hangman
Snake Game
2048
Tic-Tac-Toe
Battleship Game
Monopoly
Text-based adventure game
Choose your own adventure
Blog
Chat
Idea Generator
Search Engine
Online Pastebin
ASCII Art/Animation
Dice Game
URL Shortener
Mad Libs
Number Guessing Game
Rock, Paper, Scissors
Fibonacci
Timer
Clock
Quiz
Rock Paper Scissors
Magic 8-ball
3 years ago
Recently today I asked how to use processing with HTML, and you guys helped a lot. But now, I have another question. I have seen code like this:
floa
EpicGamer007 this refers to this instance of an object in java. For example, if you say, extended JFrame and wanted to call it's methods, you could do something like setVisible(true); but that is not a good practice. this can be used to call its methods and is much neater like this: this.setVisible(true);.
> Hope this helps! :)
> It removes ambiguity. According to @Coder100
Shoot, idk what ambigutiy means, i probably used that word incorrectly help3 years ago
Hello! I have seen many coders use processing.js on an HTML program. On the HTML code, it says (and this is copied from DynamicSquid's Wild West code,
PattanAhmed @SwaroopBappanad Hi,
Maybe you can call him to help himself @DynamicSquid
Thanks!3 years ago
Coder100 Basically you have to put it in a new file called index.java, not inside the script tag!!3 years ago
Coder100 Anyways, he used this template:
https://repl.it/@templates/Java-Processing-using-Processingjs3 years ago
Hello, and welcome to another episode of:
I HAVE LOST MY SANITY
I just wasted 4+ hrs on this, and it would've been better if I was better at python,
Python
Hi! I've seen many people use classes in python such as:
class Entity:
def init(self, color, flavor):
self.color = color
self.flavor = flavor
d
PattanAhmed @SwaroopBappanad Hi Swaroop,
Classes and Objects is really very easy and has a lot of Features.
This is a really cool video I have posted below!
Click here to go!
I hope you will learn a lot of things from that video...
*Hope this helps
Please mark my answer if this helps.*3 years ago
InvisibleOne I class is basically a building block for items in python. For example, you can use a class to make animals. Then when you want to create a new animal you reference you class and build a new animal. No, init is not completely necessary but most people use it because it is easier to initiate objects from it and keep track of variables.3 years ago
Coder100 Hi! They are the same thing, however, class Entity(classname, class2) is sort of like the extends in other languages. The init is not required, but if you have it, you can set some variables.
Read more here3 years ago
I made this game of Cricket that you play with a bot, hope you guys enjoy!
Also, upvote if you liked!
Python
Hi! This is a calculator that determines about how long it will take for an object to fall. It isn't exact, so please don't judge!
Python
Remember Guess That Number? Well, I made another game, see what u guys think!
Python
OlavAusland Hey. Just wanted to say that this is a great start when learning programming! But you might want to try making a fail safe. Cause for now i can break it by doing: minimum = 3 & maximum = 2. There are some easy fix for this, for an example do a try / except thing, or a simple if statement to check if the maximum number is greater than the minumum. Good luck! (tip: use a while loop)3 years ago