tsnake/tsnake.1

57 lines
1.6 KiB
Groff

.\" 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"
.SH NAME
tsnake \- manual page for tsnake version 0.1.2
.SH SYNOPSIS
.B tsnake
[\fI\,OPTION\/\fR]...
.SH DESCRIPTION
Description:
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.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
shows usage information
.TP
\fB\-v\fR, \fB\-\-version\fR
prints version and exit
.TP
\fB\-n\fR [SIZE]
set inital size of snake, which defaults to 4
.TP
\fB\-m\fR [MAP_NUM]
number of the first map to use as an integer, which is cycled
using (map % nmaps)
.TP
\fB\-c\fR
deactivate colors
.TP
\fB\-x\fR, \fB\-\-cheat\fR
activate cheat mode where speed can be increased and
decreased with '+' and '\-'
.SH AUTHOR
Toni Sagrista Selles <admin@tonisagrista.com>
.SH "SEE ALSO"
Online repository: <https://gitlab.com/langurmonkey/tsnake>
.PP
The full documentation for
.B tsnake
is maintained as a Texinfo manual. If the
.B info
and
.B tsnake
programs are properly installed at your site, the command
.IP
.B info tsnake
.PP
should give you access to the complete manual.