A java implementation of the popular game
Java JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nbproject
screenshots
src
README.mkdn
build.xml
manifest.mf

README.mkdn

Reversi - A Java implementation of the Reversi game with a Swing GUI.

Copyright (C) Georgios Migdos , Filia Dova

This software was developed as an assignment for the "Artificial Intelligence" course at the Athens Univesity Of Economics And Business (Spring 2010).

Available under the MIT License

Screenshots

![Screenshot1][screenshot1] [screenshot1]: Reversi/raw/master/screenshots/screenshot_th.png "Screenshot of BMach running."

Todo

  • Replace the vector instances with arraylist instances
  • Change the integer constant members to enumerations
  • Javadoc


Implemented algorithms ---------------------- ###Search algorithms : * Mini-Max * Alpha-Beta Pruning

API --- ####ai.MiniMax

public void apply(Node n, int maxDepth, SearchAlgorithm algorithm, Evaluator eval);

  • n : An instance of a class extending the abstract class ai.Node .
  • maxDepth: An integer defining the maximum depth of the search tree.
  • algorithm: The algorithm (ai.MiniMax.SearchAlgorithm) to be used when searching the tree of states.
  • eval: An instance of a class extending the abstract class ai.Evaluator. Evaluators return an integer value for the Node passed to their evaluate() method.