Dots and Boxes
Learn Dots and Boxes rules.
Make a Game Session
$ git checkout -b Game-Session $ mkdir "Playground/Multiplayer/DotsAndBoxes/YourName vs OpponentsName" $ cp -i "Games/Multiplayer/DotsAndBoxes.md" "Playground/Multiplayer/DotsAndBoxes/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 # Draws a doted line and saves the file $ git add . $ git commit -a -m "Doted Turn Number" $ git push -u origin Game-Session$ git checkout -b Game-Session $ git pull origin Game-Session # Draws a line and saves the file $ git add . $ git commit -a -m "Lined 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 "Doted/Lined Turn Number" $ git push -u origin Game-Session
FULL EXAMPLE:
Last updated