FOUR IN A ROW

To compile simply use "make".
To compile for DOS using Bruce's C compiler (bcc) use "make dos".

If you have problems with the charset, run the program with
the option -a or --ascii. Then it uses only ASCII characters.


Rules:

At the start you are asked for the number of players. Enter "2" to play
with a friend, or enter "1" if you don't have any friends. On some systems
you have to confirm every entry with the Enter key, on others that is not
needed.

The grit is set up vertically and you can drop chips into the slots.
Your goal is to get four chips in a row. This can be vertically or
horizontally or diagonally. The game can also end with a draw, when
all columns are full and nobody has won.

Have fun!


Links:

  http://akfoerster.de/p/row4/

  git clone http://akfoerster.de/git/row4.git


Share:

If you like this little program, then please share it with others.
But please, please, please also share the source code.
The source code is needed by people who try to understand how the
program actually works. They also need it, when they want to make
changes to the program.

The source code is the soul of a program.
A program without source code has no soul.


License:

Copyright (c) 2017 Andreas K. Foerster <info@akfoerster.de>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
