-
- Boost 1.68
- Ncurses
- CMake
- C++17
-
-
Download the repository, extract the folder to a location you have access to
-
Create a build folder
-
mkdir build cd build
-
-
Cmake to the location of the repository folder
-
sudo cmake PATH_TO_REPOSITORY_FOLDER Ex. sudo cmake /mnt/d/Dropbox/Dropbox/Courses/SPRING2020/CMPT373/social-gaming
-
-
Final step
-
sudo make GameServer
-
-
-
-
Go to the directory of where you built the project
-
./bin/GameServer
-
-
Open the .html file and connect using "localhost:4000" or "localhost:4000"
-
-
- Contains source code and header files that are for internal use
-
- Headers that are exposed publicly
-
- Third party libraries
-
- Unit testing
- Create a .json "game" inside of /src/Games/...
- Build and launch the server with the instructions above
- Open the "socialapp.html" web client to connect into the server
- Type in the IP address and click "connect"
- You can type "/help" for the commands available
- "/createsession Game.json" where "Game" is the name of your .json file
- You should see an invite code be generated, type "/join invitecode"
- Once in a gamesession, you can chat with other users, or start the game
- Start the game by typing "/startgame invitecode"
- The game will now run!
- Phan Bui
- Daniel Jui-Che Lin
- Hunsar Sekhon
- Joshua Deans
- Jimmy Zhong
- Matthew Zegar
- Lam Nguyen
- Yuheng Wu
- C++17 or newer
- Boost >= 1.66 and < 1.72
- CMake >= 3.12
- NCurses (only tested with 6.1)