How fast are you typing as a coder?
How to use
When you run the repl, the program will ask you the username you want to use. Type in a username you want to use. If the program doesn't accept your username, try a differenty username. Then the program will ask you that if you used this repl before. If you type in "n", there will be a tutorial there. If you type in "y", it will skip the tutorial. Read the tutorial carefully. After that, enjoy the repl:)
I didn't have the chance to test the program with a database. If you found a problem about my program, feel free to comment down below. I'll try my best to fix it:)
LMFAO THE LEADERBOARD DOESN'T WORK AS I EXPLAINED IN THE COMMENT SECTION
Hey guys, I am the test account of randomguy222. Since the database refreshes for you when it installs the packages, it just says that you are at the 1th place. I can't fix that sorry:(
@Muhammad_SJC Think about it like this - Let's say you are playing a game. Games store their memory on RAM, but not on the hard disk. It's because it isn't fast enough, and if used too much, in the future will cost too much. Using a database is like using a hard drive. Instead, you only want to store messages quickly, so you cache each person's message then send it to the client to store. It's faster, and (in business sense) should be easy to maintain.
maybe somehow you gotta code the program to save the person's username and score, and save it for the leaderboard.
Pretty cool, just the DB needs to be fixed, and also you should make a
while True loop so that we can play again, and also try much more words/different types of sentences;
pickled a a peck picked piper peppers peter picked can't say if you're a fast or slow typer lol. Take inspiration from here, as you can see there are many different random words! :)