https://mastoast.itch.io/tetrominos-fury-2351 An online multiplayer variant of the famous game, inspired by the Switch game "Tetris 99". Also include a single player mode It's my first online multiplayer game, and it was more a test to work with udp sockets for communication Controls Left Arrow Key / RIght Arrow Key to move the piece left/right Down Arrow Key to soft drop (hard drop not implemented) S key / D key to rotate the piece counter clockwise/clockwise Escape key at any time to exit the game and return to the menu ctrl + c / ctrl + v in the connection screen to copy/paste to/from clipboard
Multiplayer Server
To host a server, you will need Python3 on your computer, I tested with Python 3.7 Once installed, you can run the server.py file with it The default port is 12345, but you can change it in the server.py file (in the main) To start a game, you need at least 2 players in the Lobby. The game start when all players are ready I didn't put any restrictions on player number, but i only tested with 7 players at the same time. In theory, you can have 625 different players (number of possible id) Credits font : VCR OSD Mono thanks to all testers:
Mastoast - Programming Seturetsu - Title and background design If you want the source code, i can publish it, just ask. Have fun ! |