-
Notifications
You must be signed in to change notification settings - Fork 10
Introduction
Alex Simon edited this page Apr 1, 2014
·
14 revisions
Make-Snake is a fun introduction to the Linux shell, with a command line game that lets you change sizes and themes. It’s a great teaching tool for beginners, easy to contribute to, and a fun activity for anyone who wants to create their own version of the classic game.
Make-Snake is installed by default in Kano OS.
Package name: make-snake
Executable path: /usr/bin/make-snake
Sources: /usr/share/make-snake
Follow the development instructions
Usage: snake [options]
Options:
-h, --help show this help message and exit
-b BOARD, --board=BOARD
Board size (s | m | l)
-s SPEED, --speed=SPEED
Game speed (s | m | f)
-t THEME, --theme=THEME
Game theme (classic | minimal | jungle | 80s | custom)
-m, --ModeTutorial Closes game after game over
-e, --editor Enter editor mode
- Keyboard arrows > Move
- Q > quit
The aim of this project is to teach the use of a basic command with different arguments. The executable can be found under /bin/make-snake.
List of challenges:
-
python snake> launch the game -
python snake -b m> change the board size through a parameter -
python snake -s f> change the speed through a parameter -
python snake -t jungle> Select a theme -
python snake -e> Enter on Editor mode -
python snake -t custom> Load a the theme created -
python snake --help> Learn about the help parameter - Playground > free mode