Alpha-Beta move generator can look 2 plays (4 plies) ahead on a 4x4 board and blocks every possible attempt by the player to connect 3.
It should be possible to play on larger boards when the computers 'move' is changed from playing a tile to picking the player's next available color.
This commit is contained in:
@@ -9,9 +9,10 @@ import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import player.HumanPlayer;
|
||||
|
||||
import controller.TSPMouseListener;
|
||||
|
||||
import model.HumanPlayer;
|
||||
import model.Board.TileColor;
|
||||
|
||||
public class TileSelectionPanel extends JPanel {
|
||||
|
||||
Reference in New Issue
Block a user