mirror of https://github.com/01-edu/public.git
Augusto
4 years ago
2 changed files with 73 additions and 0 deletions
@ -0,0 +1,40 @@ |
|||||||
|
## multiplayer_fps |
||||||
|
|
||||||
|
### Instructions |
||||||
|
|
||||||
|
Write your own version of the game [maze wars](https://www.youtube.com/watch?v=5V5X5SbSjns) you should recreate all the elements of the game, but you have freedom to implement the user interface. |
||||||
|
|
||||||
|
In the bare minimum you should implement the in the user interface: |
||||||
|
|
||||||
|
- A mini map where the player can see he's own position and the whole "game world". |
||||||
|
|
||||||
|
- The graphics of the game: the walls and the other players (see [maze_wars](https://www.youtube.com/watch?v=5V5X5SbSjns) for more details) |
||||||
|
- You should also display the frame rate of the game in the screen. |
||||||
|
|
||||||
|
- A peer-to-peer network that will allow other players to join your server and play against each other. |
||||||
|
|
||||||
|
- Your implementation should allow one client and the server to run in the same machine and allow all the other clients to connect to the server in other machines |
||||||
|
|
||||||
|
You have to develop the game server and also a client application: |
||||||
|
|
||||||
|
- The server must accept all the connections possible. |
||||||
|
|
||||||
|
- When the client is initialized it should ask for the : |
||||||
|
|
||||||
|
- IP address of the server, allowing the same client application to connect to any server. |
||||||
|
|
||||||
|
- After this it should ask also for a name. |
||||||
|
|
||||||
|
- Example: |
||||||
|
Assuming that you can to connect to a server in your same computer. |
||||||
|
|
||||||
|
```console |
||||||
|
path/to/client $ cargo run 192. |
||||||
|
Enter IP Adress: 127.0.0.1 |
||||||
|
Enter Name: name |
||||||
|
Starting... |
||||||
|
path/to/client $ |
||||||
|
``` |
||||||
|
- Note: If you want to connect to a server in another computer you will have to connect to the Ip address of the server computer. |
||||||
|
|
||||||
|
- You can use any language that you prefer. |
@ -0,0 +1,33 @@ |
|||||||
|
### Functional |
||||||
|
|
||||||
|
##### Try to run the game server |
||||||
|
|
||||||
|
###### Does it compile and run without any warnings? |
||||||
|
|
||||||
|
##### Try to run a client in the same computer as the sever |
||||||
|
|
||||||
|
###### Does it compile and run without any warnings? |
||||||
|
|
||||||
|
###### Does it ask for the IP address of the server? |
||||||
|
|
||||||
|
##### Introduce the IP address of the game server |
||||||
|
|
||||||
|
###### Does the client manage to connect to the server? |
||||||
|
|
||||||
|
###### Does the client asks you for a name? |
||||||
|
|
||||||
|
##### Introduce your name |
||||||
|
|
||||||
|
###### Does the client initiates the graphical interface? |
||||||
|
|
||||||
|
###### Are you presented with a mini map of the maze? |
||||||
|
|
||||||
|
###### Can you see your position in the mini map? |
||||||
|
|
||||||
|
###### When you move around the world does your position updates in the mini map? |
||||||
|
|
||||||
|
###### When you move around the maze does the view of the camera updates? |
||||||
|
|
||||||
|
###### Is the frame rate displayed in the interface? |
||||||
|
|
||||||
|
###### Is the frame rate of the game higher or equal to 30 fps? |
Loading…
Reference in new issue