The goal is to exist.
Download git: https://git-scm.com/downloads Download cmder: https://cmder.net (recommended)
Open cmder
- Navigate to the project location
cd to/your/project - Clone the project
git clone git@github.com:coderDarren/existence.git - Navigate to existence
cd existence(Now you are in the git project) - Get the git status
git status - Develop on your own "version" of the project
git branch myBranch - Switch from master to your branch
git checkout myBranch(Work on the game) (Now its time to publish your work) - Commit your changes
git add .//git commit -m "your change notes" - Create a copy of your branch
git branch myBranchCopy - Go back to master
git checkout master - Pull the most recent changes from your team
git pull(Now you need to merge your changes with the up-to-date changes. This can result in a merge conflict which is why we create branch copies) - Go back to your copy branch
git checkout myBranchCopy - Merge master
git merge master(If it failed, ask for help) (If it succeeded..) - Go back to master
git checkout master - Merge the confirmed success
git merge myBranchCopy - Publish your changes
git push
Using the Game Server
The game server runs on node version 10.x. Install this verison of node, then navigate to the game-server directory and run npm i to install all of the node modules. Verify your verison of node using node --version To start the server run node index.js. Now when you play the game on the Unity side, you will have socket access to the server.