latest news

21.03.2008

Goats and Tigers site launched.

24.07.2009

Tic Tac Toe game added.

01.10.2009

Bridges game added.

05.10.2009

Suicide Chess game added.

Suicide Chess

Rules

  • Pieces move in excatly the same way as in regular chess
  • If you can take your opponent's piece then you must do so
  • If you can take more than one of your opponent's pieces then you may take any of them
  • The first player to lose all of their pieces wins
  • The game does not end when a player's king is taken unless all of their other pieces have been taken
  • Both players' last moves are highlighted

Applet

Your browser understands the <APPLET> tag but isn't running the applet, for some reason. Your browser is ignoring the <APPLET> tag!

Java Source Code

Complete Source (zipped)

Classes

AlphaBeta.java Helper class used by the Minimax class.
Board.java A concrete class extending the Minimax class using bitboards to represent the pieces on a chess board.
Icons.java Class with static attributes to load and store the icons used by the game.
Minimax.java An abstract class for any board game wishing to use the Minimax algorithmwith Alpha-beta pruning.
Move.java A helper class used to represent moves on the tic tac toe board.
SuicideChessApplet.java An applet class providing a user interface to the Board class.

Chess piece icons from http://www.iconarchive.com/icon/game/chess-by-iconmuseo/index.html

This applet was created using the BlueJ IDE - a Java development environment designed for use in educational establishments to teach object-oriented programming.

Known Bugs

  • Castling not supported
  • Pawns always promoted to a queen. In suicide chess the player would probably want the pawn promoted to the piece of lowest value