Maze

Make a Game Session

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

  • Write commands:

    $ git checkout -b Game-Session
    $ cp -i "Games/Singleplayer/Maze/GameDifficulty/Level Number.md" "Playground/Singleplayer/Maze/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.

  • Draw path with the "•" character.

  • 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/Maze/Easy/Level 6.md" "Playground/Singleplayer/Maze/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