Sudoku

Make a Game Session

  • Navigate Git Bash terminal into your Git-Started folder.

  • Write commands:

    $ git checkout -b Game-Session
    $ cp -i "Games/Singleplayer/Sudoku/GameDifficulty/Level Number.md" "Playground/Singleplayer/Sudoku/GameDifficulty/Level Number.md"
    $ git add .
    $ git commit -a -m "Level start"
    $ git push -u origin Game-Session

Play the Game

  • Navigate through the Playground folder and find your Level Number.md file.

  • Open the file by right-clicking and choosing to open with a text editor. I highly recommend Notepad++ for this purpose.

  • Fill in the correct numbers.

  • After completing the level replace "gitHub" with your gitHub username or "Anonymus".

  • Write commands:

    $ git add .
    $ git commit -a -m "Level complete"
    $ git push -u origin Game-Session

FULL EXAMPLE:

  • Volki decided to play level 6 on easy difficulty.

    $ git checkout -b Game-Session
    $ cp -i "Games/Singleplayer/Sudoku/Easy/Level 6.md" "Playground/Singleplayer/Sudoku/Easy/Level 1"
    $ git add .
    $ git commit -a -m "Level start"
    $ git push -u origin Game-Session
    # Volki overwrites the Level 6.md file with the correct answer and signs himself.
    $ git add .
    $ git commit -a -m "Level complete"
    $ git push -u origin Game-Session

Last updated