Hangman
Learn Hangman rules.
Make a Game Session
$ git checkout -b Game-Session $ mkdir "Playground/Multiplayer/Hangman/YourName vs OpponentsName" $ cp -i "Games/Multiplayer/Hangman.md" "Playground/Multiplayer/Hangman/YourName vs OpponentsName/Game Number.md" $ git add . $ git commit -a -m "Game start" $ git push -u origin Game-Session
Play the Game
$ git checkout Game-Session # Makes up a word and updates the "_" characters then saves the file $ git add . $ git commit -a -m "Gamemaster Turn Number" $ git push -u origin Game-Session$ git checkout -b Game-Session $ git pull origin Game-Session # Takes a guess by writing down a letter next to "Guessed by now: " then saves the file $ git add . $ git commit -a -m "Guesser Turn Number" $ git push -u origin Game-session$ git checkout Game-Session $ git pull origin Game-Session # Takes a turn and saves the file $ git add . $ git commit -a -m "Gamemaster/Guesser Turn Number" $ git push -u origin Game-Session
FULL EXAMPLE:
Last updated