Bitboard implemented with scuffed TicTacToe translation done by game. This should be done by the view.

This commit is contained in:
2025-12-04 00:49:49 +01:00
parent 34d83ff7a5
commit f4ee992166
10 changed files with 83 additions and 49 deletions

View File

@@ -0,0 +1,5 @@
package org.toop.framework.gameFramework.model.game;
public interface BoardProvider {
int[] getBoard();
}

View File

@@ -1,5 +1,5 @@
package org.toop.framework.gameFramework.model.game;
public interface TurnBasedGame<T extends TurnBasedGame<T>> extends Playable, DeepCopyable<T>, PlayerProvider<T> {
public interface TurnBasedGame<T extends TurnBasedGame<T>> extends Playable, DeepCopyable<T>, PlayerProvider<T>, BoardProvider {
int getCurrentTurn();
}