1.3 KiB
1.3 KiB
Roboc
I am pausing the devel here, I have to prioritise another project. I'll be back with Pytest!
Objective of the exercise
Multiplayer maze game over network
All instructions avaiable in the course Apprenez à programmer en Python , from Open Classrooms.
Gameplay / roadmap
- run server
- choose a map
- accept client connection
- when number of connected client is reached, any clients can start the game with the command 'PLAY'
- each robot is randomly placed on the map
- play turn by turn
- no new client during the game
Files
server.py
: server scriptclient.py
: client scriptconfiguration.py
: constants, variables and functionmap.py
: object providing a navigable mapconnectsocket.py
: socket object providing networkreadme.md
: you are reading it!cartes
: place for map files (ext..txt
)
Commands
The robot is controllable by keyboard commands. The following commands must exist:
- Q: Quit game
- N: move north (up)
- E: move east (right)
- S: move south (down)
- O: move west (left)
- Each of the above directions followed by a number allows you to advance several squares (e. g. E3:3 squares to the east)