- In this project, we are using Pygame for game UI where clients play at.
-
Install Python3 in order to run Pygame: https://www.python.org/downloads/
-
Install Pygame in terminal(command prompt in PC),
python3 -m pip install -U pygame --user
-
To see if it is installed, run one of the included examples:
python3 -m pygame.examples.aliens
-
Visual Studio or Spyder are recommanded running environments.
-
More detail for help, see https://www.pygame.org/wiki/GettingStarted
- Setup ad hoc network and change address in client and server accordingly
- To start server, at server module, run
python3 main.py
(python main.py
on Windows) - To start game, at client module, run
phthon3 lobby.py
(phthon lobby.py
on Windows)