Multiplayer Battle Game!
Hi!
Do you remember my battle game made in Python?
Well, this time I've spent a few weeks making a multiplayer version of the game with Node.js using Socket.IO, and it's a website now!
Features
- See your opponent's moves in real time
- Chat box to communicate with your opponent
- Inviting users to a room
- Play against the computer
See how to play at https://multiplayerbattlegame.ruiwenge2.repl.co/howtoplay.
You can try it out by playing against your friends, or join the same room in different tabs. You can also play against the computer.
Important: To create an account you must open the website in a new tab.
Click here for the GitHub repo
Credits
- @ch1ck3n for the sliding effect
- @Bunnytoes for telling me about random numbers in javascript
- @Coder100 for telling me how to show users in a room a long time ago
- @earthprelude for helping me create some of the characters and moves in Python
Enjoy!
svg files cannot be displayed: https://replanalytics.repl.co/track/15e263c6-d2fc-4e22-909f-5c6dc7567a0c/empty.svg
I predict that this will get on trending.
@CosmicBear have any seer blood? related to Cassandra Trelawney?
spoiler: probably yes it is
just realized it actually is on trending now @AmoghTheCool
@CosmicBear yea thats what i meant. You are a real Seer.
but lol anybody can predict that all of @ruiwenge2's stuff will go on trending
@pro0grammer haha, but that doesn't mean you necessarily won
@AndrewMarkarian There was also an another trick, just go to developer console > select any attack button element > change "player-1" class to "player-2". And opponent won't attack you!! it probably won't work in online game still.
You're going to reach 2000 upvotes, and congrats for that, because I'll be giving you 15 upvotes for your good games and dedication!
After 14 upvotes...
Then...
Congrats @ruiwenge2 for getting to 2000 upvotes, you deserve it!
@CodingElf66 wow...thanks so much!
@ruiwenge2 Np, you deserve it!
are you using alt accounts to upvote lmaooo @CodingElf66
@cjmatthy09 They are not. @ruiwenge2
has over 30 posts, so they were able to do that entirely without alt accounts. Additionally, their account has no history of questionable activity. @CodingElf66 @FreeFunTime @sobakarooted
@TheDrone7, @CodingElf66 told me that "If @CodingElf66 cannot post or comment at all on Replit Talk, he requests that can his team members post his games and repls for him and give him credit?"
@rickysong that would be absolutely fine! In fact, @CodingElf66 can also appeal for unban after a duration of 6 months.
@TheDrone7 ok I'll tell him, thank you :D
@TheDrone7, @CodingElf66 also asked if he is able to post on apps
nvm
@TheDrone7 How come 6 months thats HALF A YEAR... I mean he only game a few upvotes, and thats only to people who he thinks deserves it. (No offence)
@SilentFoxy78 Which is exactly why he's been given a 6 month duration. Normally, bans for such cases are permanent and you won't EVER be allowed to appeal.
But considering this case where he unintentionally did something against the rules, there is a chance to appeal for it.
However, even if it was unintentional, I cannot NOT give punishment.
@TheDrone7 Yeah but I don't get why a few upvotes is so important
pp hlo jleg
3981ccca-bc27-4723-a44b-aaf74e102b80
@ruiwenge2 how are you not an admin yet
@RayhanADev like fr he is pro
Nice
Lol, apparently the human is smarter then the computer...
@Jessica0519 And I found out now that you started doing programming with python, just like me. Let's be friends! I'm 10! I know you are 14. And are you a boy or a girl? I'm a girl.
@Jessica0519 oh god here it goes again
@BillNyeScience lmfao
@Jessica0519 please send an email with parental approval to [email protected]
(@TheDrone7), otherwise you will be banned from ReplTalk.
@RayhanADev Wait. I have light mode, how did you do that?
@RayhanADev I think she's just here to know and like ruiwenge2, sigh. It was with Brainy, now its with this.
@CodingElf66 go to your account settings and change turn on explorer. Then turn on dark mode in the themes.
@RayhanADev ohh tysm!
Main thing that you have to do, is update the css. It looks like it's from 2000's. But still you've done a good job on coding it.
@nameless12321 i got just about 4k
This file cannot be displayed:
nice
Nice
Do you remember my battle game made in Python?
No .-.
Also why do you need a login system for most of your recent multiplayer projects lol .-.
-
https://replit.com/talk/share/Battle-Game-Made-With-Python/138258
-
so people can’t change their usernames, they’ll need to create an account. gonna change that for my next multiplayer game :)
so people can't change their usernames
they can just make a new acc (I think)
gonna change that for my next multiplayer game :)
nice!
it might be easier for the backend
The account thingy?
sorry it's almost midnight and my brain is dead
@ruiwenge2 You should make a ruiwenge2 auth so you only need one account to sign in to any of your projects.
ye, or maybe just use repl auth or smthn .-.
ping? @ruiwenge2
@Bunnytoes you helped me remember?
@ruiwenge2 I did? Ohhh the random numbers
555th upvote!
wow nice
If you pick Thanos, you can never lose against the computer that I can tell
provided you always use Thanos snap
great
hiiiiiiiiii
nice
cool!
50c5109e-4854-42af-b858-570edd49a3cd
I love this game. I also like how this is an updated version of the Battle game (in python) you did 5 months ago.
@Mantaray06 thanks!
upvote if you like it?
It freezes when Medusa does the snake bite attack.
@nameless12321 fixed
it is a good game. please make it more attractive and decorative with gifs and all and add more characters
Can you add more characters? I'm kind of bored with Pikachu and Jedi now, I played and used them only. But by the way, good job! I'll leave an upvote!
@UltimatePython thanks!
there are still other characters besides Pikachu and Jedi
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
nice
@Coder100 thanks