Share your repls and programming experiences

← Back to all posts
🔴 LIVE 🔴 Multiplayer 🎮 Game Template! With 🌐WebSockets
Scoder12 (882)

🔴 LIVE 🔴 Multiplayer 🎮 Game Template! With 🌐WebSockets

By Scoder12

Important: See server repl here


  • In the terminal
  • Live multiplayer
  • Anti-cheat/Inactive players removed
  • Customizable by YOU

How do I make my own game based on this?

  1. Fork the repl
  2. Leave the comment that gives credit to me
  3. Add your own game logic for the server and client
  4. Upvote!
  5. Share your creations/questions in the comments👇👇

If you liked this tutorial or the game, please leave an upvote! I spent a lot of time on this!

SeamusDonahue (458)

--> python3 -m poetry install

The Poetry configuration is invalid:

  • 'description' is a required property

exit status 1 Package operation failed.

SeamusDonahue (458)

Arrow keys to move, press enter to start Connecting to server... Traceback (most recent call last): File "", line 108, in <module> ws = websocket.WebSocket() TypeError: __init__() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'


Scoder12 (882)

@SeamusDonahue I haven't touched this project in 2 years, I don't expect it to work anymore and I don't really have the time to fix it

SeamusDonahue (458)

thats fair. thanks for making it in the first place, Im sorry it stopped working. have a nice day.


RobertFurr (64)

This is what I get when I try to launch the web server:

Scoder12 (882)

@RobertFurr hmmm, did you try forking the repl and trying again? If not, post this on bugs

MatthewDoan1 (333)

As soon as I join, I get disconnected.

Scoder12 (882)

@MatthewDoan1 You probably just have to start the server.

MatthewDoan1 (333)

@Scoder12 I'm getting an error on Line 247: wss.clients.include is not defined.

Scoder12 (882)

@MatthewDoan1 ahh yes that is my bad sorry lemme fix that

Scoder12 (882)

@MatthewDoan1 Guess what? There is no line 247! and there are no instances of wss.clients.includes
EDIT: seems to work for me

MatthewDoan1 (333)

@Scoder12 Hmm, I seem to have forked an older version of the server repl, and that's why it wasn't working. Going to try the new version. Thanks.

EDIT: There is no line 247 and no instances of wss.clients.includes because I forked an out-of-date version of the repl.