Skip to content
Sign UpLog In
Profile icon

Swaroop Bappanad

@SwaroopBappanad
I honestly have no idea what I'm doing.
  • Acowdemia 2

    Cover page
    Made with Python
    Recent comments (0)
Repls
Community
SwaroopBappanad
SwaroopBappanad
shared a Post
2 years ago
💻💻 PONG with UNBEATABLE BOT 💻💻
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
pong
HTML, CSS, JS
Michael8910
Michael8910
wow the ball really doesn't like to follow physics2 years ago
mesquite2234
mesquite2234
image I very pog at game2 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
2 years ago
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
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
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
Coder100
Coder100
no2 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 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?
p5.js
HTML, CSS, JS
Coder100
Coder100
Wait, but since you are using p5.js, ig there is an edge case: let countdown = 10; function draw() { if (frameCount % 60 == 0) countdown --; if (countDown <= 0) text("Time's up!", width / 2, height / 2); } `3 years ago
Coder100
Coder100
Not p5.js, only JavaScript is needed. setTimeout :)3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
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
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
Coder100
Coder100
Folders are almost like tags, they are only visible to you.3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
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
Coder100
Also wdym no JSON, it's just your average python dict3 years ago
Coder100
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
SixBeeps
SixBeeps
Write a quine3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
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
LohithS
LohithS
Refer this - https://www.flowerbrackets.com/this-keyword-in-java/1 year ago
firefish
firefish
Like self in python.2 years ago
EpicGamer007
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
SwaroopBappanad
SwaroopBappanad
shared a Post
3 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
PattanAhmed
@SwaroopBappanad Hi, Maybe you can call him to help himself @DynamicSquid Thanks!3 years ago
Coder100
Coder100
Basically you have to put it in a new file called index.java, not inside the script tag!!3 years ago
Coder100
Coder100
Anyways, he used this template: https://repl.it/@templates/Java-Processing-using-Processingjs3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 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,
Tic tac toe 2
Python
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
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
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
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
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
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
I made this game of Cricket that you play with a bot, hope you guys enjoy! Also, upvote if you liked!
Cricket
Python
chestkid
chestkid
It's not working1 year ago
LegendaryWolf
LegendaryWolf
#ONLY INDIANS2 years ago
awesome10
awesome10
nice, but i dont even know anything about cricket xD3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
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!
Free Fall Calc
Python
thejoeman24
thejoeman24
cool3 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
Remember Guess That Number? Well, I made another game, see what u guys think!
Rock paper scissor
Python
SwaroopBappanad
SwaroopBappanad
=(2 years ago
SwaroopBappanad
SwaroopBappanad
shared a Post
3 years ago
It's my first project posted here, so don't judge
Guess the number
Python
ieatbroccoli900
ieatbroccoli900
nooooiiiiiiiiiiccccccceeeeeeee!!!!!!!!!!!!!!!!! 3 years ago
OlavAusland
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
studentAlfredAl
studentAlfredAl
Great start! Keep up the good work! :D3 years ago