FOUR IN A ROW

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.

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.

You can use the keyboard or on most systems the mouse to control the
program.

Have fun!


Links:

  https://akfoerster.de/p/row4/

  https://akfoerster.de/cgi-bin/row4

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


Share:

If you like these little programs, then please share them 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 programs.

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


License:

Copyright (c) 2017-2023 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/>.
