Skip to content

imrnh/multiplayer_football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Server

Multiplayer Football Game (2 player)

Django, Websocket, Redis

Game Details

The game needs 2 player to play it. Each match is played for 60 seconds.
My local image

How to Run?

Directories

App contains the client module i.e. the game itself. Please download the portable version based on your operating system.

game_server contains the server module. Please follow the instruction below to setup the server on your own device.

Server Setup

Please make sure your device has docker installed. Then run the following commands:

sudo docker-compose up -d

Then run the portable app on your device to play the game.

Play from different devices.

Download the released version with _online suffix. These version uses hosted backend. So you can start playing online. Or instead, you can use ngrok to open public port from your device and rebuild the app by changing the URL. Server URL variable is in the app/main.py file.

Build from source

Make sure you have pyinstaller installed. If not, you can install with pip install pyinstaller command.

Windows portable .exe

cd app
pyinstaller --onefile --windowed main.py

About

A multiplayer football game made with pygame and django. To play the game, download the portable software and start playing.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors