LOthello (Reversi) v1.1 – Freeware This
game plays against humans with some manually tweaked A.I. algorithms.
It’s my very 1st C “Hello World” program
working under MS-DOS Console. The full C source is included so you can check
how it works. Of course it is messy as I wasn’t caring much about the
code structure at that time. But still, it works well and it doesn’t
crash at all. It is unlikely you can beat it especially if you are a casual
player. Tested under: MS-DOS 6.11, MS-DOS 7.0, Win95, Win98, WinNT, Win2k,
WinXP. Levels are Novice / Medium / Expert / User. The depth of a move
represents the number of moves that the computer is able to anticipate. One
move = each time a player, black or white, plays. Buttons are: Novice: Medium: Expert: depth = 5 User: You can set the depth from 1 to 60, by clicking on the
“+” and “-“ next to the USER button. 60 is Othello's
maximal depth and it corresponds to the (64-4) free squares. On a Pentium(tm)
PC, you can reasonably choose a depth of 7 or 8. Hint: this button advises you the move to play and therefore
only works if the player is 'HUMAN'. The “+” and “-“
are used to change the depth of search of the move that will be advised. Ctrl: You can hit 'Control' key to change the type of
recursive search algorithm Min-Max or Alpha-Beta. For instance changing that
will allow you to compare Min-Max with Alpha-Beta performance. They can be
used for Chess games as well. Of course the strategy won’t be the same
anymore. Alpha-Beta is an enhanced version of Min-Max. International
Othello or Reversi rules: 1. To make a legal move, your piece must be placed
next to a piece of the opposite color. The move is only legal if there
somewhere on the column / row / diagonal in the direction of the opposite
piece is one of your own pieces. All opposite pieces in this direction is
then captured by you and will change to your color. 2. If your piece is placed next to several pieces of
the opposite color then you can capture opposite pieces in several direction
in one move. 3. If you have no possible moves you will be forced
to pass your turn. When you have to pass, L-Othello will tell you to. To pass
simply click PASS the mouse on the board. 4. If L-Othello has no moves it will tell you. You
can continue to make your move as normal. 5. The game is over when all fields are occupied or
when no side can make a legal move. 6 The winner of the game is the one with the most
pieces when the game is over. L-Othello will tell you who has won when the
game ends. Download: lothello.zip (v1.1, 111K, MS-Dos, Mouse, C
source code included) Resources: Check out LOthello
C Source code for MS-Dos compiled with Borland Turbo
C/C++ v1.01 Screen shot of L-Othello v1.1 [ Back to Home ] |