class LgrfTable implements Serializable {

	public void update(Color colorToPlay, boolean playoutWon,
			short penultimateMove, short previousMove, short reply) {
		if (reply != PASS) {
			if (playoutWon) {
				replies1[colorToPlay.index()][previousMove] = reply;
				replies2[colorToPlay.index()][penultimateMove][previousMove] = reply;
			} else {
				if (replies1[colorToPlay.index()][previousMove] == reply) {
					replies1[colorToPlay.index()][previousMove] = NO_POINT;
				}
				if (replies2[colorToPlay.index()][penultimateMove][previousMove] == reply) {
					replies2[colorToPlay.index()][penultimateMove][previousMove] = NO_POINT;
				}
			}
		}
	}

	public  LgrfTable(CoordinateSystem coords);

}