Incremental updates. Work in progress to augment Board, Referee, add score for computer player, implement Monte-Carlo simulation.
Renamed Player implementations and changed Player to interface, with the goal of using abstraction to make the human and computer interactions with the game identical for ease of simulation.
This commit is contained in:
@@ -38,7 +38,7 @@ public class MainFrame extends JFrame {
|
||||
private void init() {
|
||||
// Create objects.
|
||||
ScorePanel sp = new ScorePanel(game);
|
||||
TileSelectionPanel tp = new TileSelectionPanel(game.getPlayer());
|
||||
TileSelectionPanel tp = new TileSelectionPanel(game.getHumanPlayer());
|
||||
BoardPanel bp = new BoardPanel(game,tp);
|
||||
MessagePanel mp = new MessagePanel(game);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user