Chess
Learn Standard Chess rules.
Make a Game Session
$ git checkout -b Game-Session $ mkdir "Playground/Multiplayer/Chess/YourName vs OpponentsName" $ cp -i "Games/Multiplayer/Chess.md" "Playground/Multiplayer/Chess/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 a move and saves the file $ git add . $ git commit -a -m "White Move" $ git push -u origin Game-Session$ git checkout -b Game-Session $ git pull origin Game-Session # Makes a move and saves the file $ git add . $ git commit -a -m "Black Move" $ git push -u origin Game-Session$ git checkout Game-Session $ git pull origin Game-Session # Makes a move and saves the file $ git add . $ git commit -a -m "White/Black Move" $ git push -u origin Game-Session
FULL EXAMPLE:
Last updated