Skip to content
← Back to Community
🔴 LIVE 🔴 Multiplayer 🎮 Game Template! With 🌐WebSockets
Profile icon
h
has Hacker Plan
Scoder12

🔴 LIVE 🔴 Multiplayer 🎮 Game Template! With 🌐WebSockets

By Scoder12

Important: See server repl here

This file cannot be displayed: https://storage.googleapis.com/replit/images/1548372676357_58f4a81a7ebb4557c444d3e73037d448.pn

Features

  • 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!

Voters
Profile icon
IoanLazar
Profile icon
Hellogamings
Profile icon
SharkCoding
Profile icon
parkerslv
Profile icon
piphi
Profile icon
BroPlayz
Profile icon
PXY
Profile icon
TheRicks2
Profile icon
DUN0040
Profile icon
SPQR
Comments
hotnewtop
Profile icon
teaganturner

Dziękuję za sugestię; Zajmę się tym, ale wolę polegać na sprawdzonych i prawdziwych zasobach. Teraz wyjaśnię Ci, jak zarabiać prawdziwe pieniądze grając na automatach online. Wszystkie wypłaty są prawdziwe, jeśli nie grasz na automacie w trybie demo. Więcej informacji można znaleźć na stronie https://polskiekasynaonline.net/hazardowe-online-maszyny/. Ilość wygranych zależy od wielu czynników, w tym zwrotu z inwestycji w automacie (RTI), zmienności i stawki postawionej w każdym spinie.

Profile icon
SeamusDonahue

--> python3 -m poetry install

[RuntimeError]
The Poetry configuration is invalid:

  • 'description' is a required property

exit status 1

Repl.it: Package operation failed.

Profile icon
Scoder12
Profile icon
SeamusDonahue

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

@Scoder12

Profile icon
Scoder12

@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

Profile icon
SeamusDonahue

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

image

@Scoder12

Profile icon
RobertFurr

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

This file cannot be displayed: https://storage.googleapis.com/replit/images/1559568965094_e5d220412424d92eedaf1ef7e1762eed.pn

Profile icon
Scoder12

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

Profile icon
MatthewDoan1

As soon as I join, I get disconnected.

Profile icon
Scoder12

@MatthewDoan1 You probably just have to start the server.

Profile icon
MatthewDoan1

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

Profile icon
Scoder12

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

Profile icon
Scoder12

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

Profile icon
MatthewDoan1

@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.