Original art assets (maybe one more fancy background)
Game can completely run with 4 to 13 users at once
Game coordinator can get you into a lobby and handle displaying multiple lobbies with some information on each
Users can change their password
Chat/log spam prevention
Visuals could be better (especially mobile sizes)
Win/loss tracking
Replay attacks are possible against GameCoordinator.js since the requests are not timestamped
root:password
root:SekurePassword
webapp:SekretPassWord
In webroot/js/game.js
set DEBUG on line 5 to true and you'll get access to a way to start a game by yourself with 12 other fake users. You will also need to set enableTurnCheck
to false on line 768 of nodejs/GameServer.js
. Use this to test the cards not available in a 4 player game. Note that perfect client functionality is not guaranteed since your client will be receiving every message 13 times, so for best results just use "CHECK" for all of the fake users and only test card abilities on your own account (the one that can go when it says "It's your turn!" in the log)
Our ports have been modified from what was provided in the project template. Since only a small number of ports are forwarded for expediency's sake, only the first 10 game lobbies can be accessed on the host machine. You will need to restart vagrant once 10 lobbies have been created to reset the port counter to 8080, or alternatively forward the range below. The main website can be accessed through localhost:8000, and the GameCoordinator can be accessed through localhost:8001. The list below details all the ports in use by our application.
- 80 => 8000 (Apache)
- 8000 => 8001 (GameCoordinator.js)
- 8080 => 8080 (GameServer.js)
- 8081 => 8081
- 8082 => 8082
- ...
- 8088 => 8088
- 8089 => 8089
- 8090 => NOT FORWARDED (You will not be able to access any lobbies using this port)
- 8091 => NOT FORWARDED
- ...
- 9088 => NOT FORWARDED
- 9089 => NOT FORWARDED