When The
@adsarebbbad
hmm
0
Grid WorldA game with cells that does stuff.
Grid World
This is a game that does stuff. Arrow keys to move, space to delete TAR, don't go in to it, and yeah that's it.emilyDoesPascal using == in java does not test if the strings are equal. Java instead check if they are they same object. You should rather use .equals(), so line 8 would be
if (test.equals("e")) {
However, keep in mind that .equals() will not work on null strings1 year ago
1
adsarebbbadMy website
15
0
1
1
a react clock and buttonthis is a react clock and clicker app.
6
0
1
13
terrainThis is a processing program that generates random pieces of terrain when you run it, nothing particularly fancy. I hope you like it.
181
1
13
This processing program generates a random piece of terrain everytime you run it, nothing particularly fancy. Well, I hope you like looking at a bunch
Java
DynamicSquid This is neat! If you want to take this to the next level, you can try to use a simple terrain generating algorithm :)2 years ago
How do I add the sprite library to processing? Is there even a sprite library for processing in replit?
InvisibleOne I don't think there is a sprite library for processing in Java, I'm not even sure if that runs on replit. The only thing I an think of that has a sprite library is Kaboom.js, but maybe I'm thinking of something different.2 years ago
I have a bunch of junk repls I don't need. How do I mass delete repls?
Coder100 put them all in a folder
delete that folder
otherwise, there is no other way because it was never thought of
why not have them there lol my profile is filled with trash
https://replit.com/feedback2 years ago
This is just a guessing game... but its written in deno. You have 20 tries to correctly guess the random number from 1 to 6. If you guess it correctlyDeno
File Maker
This is just a deno repl that asks for the name of the text file you want to create, creates the text file, and then asks you for text to aDeno
Idk how to. When I try to unfocus the buttons using CSS, that didn't work. So how do I unfocus buttons in Svelte?
HackingGo306 I went into public/style.css and put 'outline: none;' in the 'button{}' Now there is no outline when I click it.2 years ago
Whenever I run the program, it says Hmmm... we couldn't reach your repl or its just blank. Why is this?
Bash
RYANTADIPARTHI Solution
here are some stuff you could try.
refresh the repl
fork the repl
make a new repl
restart
finally if all fails, report to bugs.
https://repl.it/bugs.2 years ago
^^^ title says it all. whenever i try to upload the content inside of a zip file it uploads just the zip file, and not the content
This is a really simple CLI I made with crystal. There are only 3 commands. you can input any one of those commands.
Crystal
I have a refresh function and when you click a button it calls that function, yet the page doesn't refresh.server side react
Squirrel777 I would recommend simply using the web version of javascript to refresh the page using location.reload();2 years ago
Coder100 hmm it seems to be an error from express-react-views
apparantly all the code is going to be handled in the backend. I suggest using next.js instead.2 years ago
So im making a simple username program with replit db but when i check if a username is taken or not it gives an error when the username isn't taken
Python
alanchen12 First of all, you have an error on line 4 of your code where you don't have an ending double quote.
I don't get what you are doing in your program, but you can loop through all keys in the database and check if they match the username, like this:
for x in(db.keys()):
if x == user_name:
print("\tthat username is taken!")
else:
db[username] = username
EDIT: I made a more efficient way.
if user_name not in db.keys():
db[username] = username
else:
print("\tthat username is taken!"2 years ago
InvisibleOne Screen Shot 2020-12-21 at 11.56.49 AM
Your error is because you are missing a closing quotation mark2 years ago
InvisibleOne I would go about it a different way, like this:
if db[user_name] == '':
db[username] == username2 years ago
It says MainFrame is not defined, but it's in MainFrame.java. Why is MainFrame not defined?
Java
CSharpIsGud Make a directory named "classes"
Use javac *.java -d classes && cd classes && java platformer to compile.2 years ago