Assignment #5 for Computer Graphics (Reykjavik University)
Karin Frlic, November 2017
Get to the star before your opponent does.
- Open terminal in the root directory. Run
cd serverCode && javac GameServer.java && java GameServer
- Open two new terminals in the root directory. Run
gradle run
in both of them. - Both players (in both windows) should see the opponent now. If this is not the case, close both running games and run
gradle run
again.
It is possible to play the game on two computers:
- Start the server code on your server.
- Change line 34 in
LastGame/core/src/com/ru/tgra/network/GameClient.java
: Replacelocalhost
with the address of your server. - Open two terminals (on different computers) in the root directory. Run
gradle run
in both of them.
- Press V to switch between first and third person view.
- Press R to reset the level if you get stuck.
- Use WASD to move around.
- Use arrow keys to look around.
- Press SPACE to shoot.
- Use arrow keys to zoom in/out and move around the maze.
- You cannot move around in third person view.