=pod

=encoding UTF-8

=head1 NAME

2048 - single player slide and add puzzle game

=head1 SYNOPSIS

B<2048> [I<mode>]

=head1 DESCRIPTION

This manual page documents briefly the B<2048> command.

The B<2048> game is a mathematics based puzzle game where you have to
slide tiles in a 4x4 board in any of the four possible directions by
using the arrow keys.

Touching tiles with the same value are then merged into tiles with the
added value of the merged ones.

You start with a randomly placed pair of 2-valued tiles. New tiles with
a value of 2 appear randomly in a free position after sliding. To win
you have to reach a tile with a value of 2048 before the board is full.

=head1 OPTIONS

Only one argument is allowed, which allows selecting different colors
from the original and running internal tests. Current supported values
for I<mode> are:

=over 2

=item B<blackwhite>

Runs the program in black and white color scheme.

=item B<bluered>

Runs the program in blue-to-red color scheme (requires 256-color support
on terminal).

=item B<test>

Runs internal tests, a good idea before committing changes to the code.

=back

=head1 AUTHORS

=over

=item Maurits van der Schee

Wrote the B<2048> program.

=item Ricardo Mones <mones@debian.org>

Wrote this manpage for the Debian™ system.

=back

=head1 LICENSE

Copyright © 2020 Ricardo Mones

This manual page was written for the Debian™ distribution (but may be
used by others) because the original program does not have a manual
page.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

=cut
