-
Notifications
You must be signed in to change notification settings - Fork 0
A C implementation of the othello game (or reversi)
License
asturio/hinversi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
hinversi - Another othello engine Copyright (C) 2003-2007 Claudio André Till Clemens cathello is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Comments are welcome. - Claudio André Till Clemens <asturio at gmx point net> What is "Hinversi"? ================== Hinversi is my implementation of "Reversi" or the game "Othello". My Name is Claudio, and "claudicare" means in latin "to limp", which is in German "hincken". So the name of my implementation was named "hincken+reversi" or shorter "hinversi". How are the rules ================= The object of othello is to flip as many of your opponent's tiles to your color as possible without your opponent flipping your tiles. This is done by trapping your opponent's tiles between two tiles of your own color. The board starts with four tiles arranged in a box on the middle of the board. The tiles have the same color at each corner. Black goes first and places a tile on the board such that it traps white's tiles between two of black's tiles. When black places a tile on the board all of white's tiles between black's newly placed tile and another black tile, in a horizontal, vertical, or diagonal row, are flipped over and become black. When there is tile trapped between two tiles, of an identical color in the same row, the player captures tiles until another tile of the player's color is encountered in. The player can only take tiles that are a direct result of the placing a tile on the board. Once a tile is placed on the board the player cannot remove it and place the tile somewhere else. If a player cannot move they forfeit their turn. The game ends when it is no longer possible for either player to move. How to start the game ===================== You have just some simple options to start with it, you can select the how is playing black with -b, who is playing white with -w. -h gives you a list of possible options. The default white player is David (1) and the default black player is Human (h). The AI-Player are 0 - Naivus - A random engine 1 - David - A look-one-move-ahead AI-engine 2 - Neo - An alpha-beta AI-engine 3 - ElMatador - Another alpha-beta AI-engine, faster and stronger Check ===== If you don't have check installed, or don't want to compile the checks, run configure with following option: --without-check # vim:tw=80:
About
A C implementation of the othello game (or reversi)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published