57 lines
1.6 KiB

.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH TSNAKE "1" "March 2019" "tsnake version 0.1.2" "User Commands"
tsnake \- manual page for tsnake version 0.1.2
.B tsnake
tsnake is a simple terminal snake game written in C++ with ncurses.
Move the snake with the arrows, [wasd] or [hjkl].
Use [p] to pause game, [r] to restart it with a new map and
[q] to quit.
The game starts with a speed of 2 m/s and every 20 points the speed
is increased by one m/s until a maximum of 20 m/s.
If cheat mode is enabled (\fB\-\-cheat\fR), the speed can be increased and
decreased with [+] and [\-].
The game has a few maps which can be chosen using the \fB\-m\fR option.
Otherwise, maps are cycled automatically when the game is restarted.
\fB\-h\fR, \fB\-\-help\fR
shows usage information
\fB\-v\fR, \fB\-\-version\fR
prints version and exit
\fB\-n\fR [SIZE]
set inital size of snake, which defaults to 4
\fB\-m\fR [MAP_NUM]
number of the first map to use as an integer, which is cycled
using (map % nmaps)
deactivate colors
\fB\-x\fR, \fB\-\-cheat\fR
activate cheat mode where speed can be increased and
decreased with '+' and '\-'
Toni Sagrista Selles <admin@tonisagrista.com>
Online repository: <https://gitlab.com/langurmonkey/tsnake>
The full documentation for
.B tsnake
is maintained as a Texinfo manual. If the
.B info
.B tsnake
programs are properly installed at your site, the command
.B info tsnake
should give you access to the complete manual.