![]()
Rules of the Game of Othello/Reversi
![]()
The game of Reversi is a two players game. The game is played on an 8x8 board. The pawns are black on one side (i.e. belongs to one player), and white on the opposite side (i.e. belongs to the other player). The goal of the game is to have more pawns belonging to his color, at the end of the game
Starting the game, each player chooses a color, either black or white. The player who owns the black plays first.
The starting position is the next one:

Each player takes one pawn from the initial pool of 60 pawns and places it
on a free cell of the board, the pawn showing the color of the player.
The new pawns must reverse at least one pawn of the color of the opponent. The new pawn must constitute a 'claw' between it and at least one pawn of the same color, with pawn(s) of the opponent's color, horizontally, vertically or in diagonal.
Let's take an example:

Player Black will play in D2 and will took:
· E3 (thanks to F4)
· D3, D4 and D5 (thanks to D6)
All the code for this project is developed using Eclipse/CDT (Eclipse 3.3 + CDT 4.0), and should be preferably compiled using this IDE.
This said, you can also download the project with SVN and compile it using the Makefiles (the Eclipses projects are all Makefile based).
The easiest way to proceed is to use the SVN plugin within Eclipse: subclipse.
You can then follow these easy steps to check-out the code from Eclipse:
1. Select a workspace where you want to put the ffmpeg-examples projects:
2. Select then the perspective ‘SVN Repository Exploring’:
3. Right-click in the pane ‘SVN Repository’ and select ‘New / Repository Location’:
4. Enter
then the SVN repository
https://atilo.svn.sourceforge.net/svnroot/atilo
5. Expand the SVN repository to see all projects, select them and start the Check Out operation:
6. Finish the checkout operation:
7. Once done, switch the Perspective view to C/C++ Perspective.
Please note the following regarding the code:
· This is C code, not C++ code. Actually, the code is gnu99 (iso99 + gnu extensions).
· In release mode, the documentation is generated, using Doxygen. In order for this step to be successful, you need to have doxygen and graphviz installed. I strongly suggest installing –doxywizard as well. You might also want to install the Eclipse plugin for Doxygen: Eclox
This project is released under the BSD license: see here for details.
Developed and tested on Fedora 7 / 2.6.21.
|
Full source code |
svn co https://atilo.svn.sourceforge.net/svnroot/atilo |
|
Anonymous SVN access |
|
|
Browse the Documented Source Code |
|
|
Project Statistics |
|
|
Download Application RPM |
|
|
|
Pages created: |
Pages last
revised: |
![]()
![]()