Code Search for Developers
 
 
  

TournamentGame.java from The Geronimo Project at Krugle


Show TournamentGame.java syntax highlighted

package geronimo.hoshigo.model.tournament;

import geronimo.hoshigo.model.game.Game;
import geronimo.hoshigo.model.game.InvalidHandicapException;
import geronimo.hoshigo.model.game.Player;
import geronimo.hoshigo.model.game.Referee;
import geronimo.hoshigo.model.goban.IllegalGobanSize;

/**
 * Partie inclue dans un tournoi
 */
public class TournamentGame extends Game
{
	private final Tournament tournament;

	public TournamentGame(Tournament tournament, int gobanSize, int handicap,
			float komi,	boolean freeHandicap, Player black, Player white, Referee referee)
		throws InvalidHandicapException, IllegalGobanSize
	{
		super(gobanSize, handicap, komi, freeHandicap, black, white, referee);
		this.tournament = tournament;
	}

	public Tournament getTournament()
	{
		return this.tournament;
	}

}




See more files for this project here

The Geronimo Project

The Geronimo project concists of two software :\n- Geronimo Hoshigo : a playable graphical user interface to play Go\n- Geronimo Margo : a artificial intelligence program which plays Go

Project homepage: http://sourceforge.net/projects/geronimo
Programming language(s): Java,Pascal,Perl,PHP
License: gpl2

  IllegalPlayerChangeException.java
  NotParticipatingPlayerException.java
  Tournament.java
  TournamentGame.java