mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
spam minder v2
This commit is contained in:
@@ -224,9 +224,7 @@ public final class TicTacToeGame {
|
||||
} catch (InterruptedException _) {}
|
||||
} else {
|
||||
final Game.Move move;
|
||||
IO.println(information.players[0].name + " " + information.players[1].name);
|
||||
if (information.players[1].name.equalsIgnoreCase("pism")) {
|
||||
IO.println("got worst move");
|
||||
move = ai.findWorstMove(game,9);
|
||||
}else{
|
||||
move = ai.findBestMove(game, information.players[0].computerDifficulty);
|
||||
|
||||
@@ -56,7 +56,6 @@ public final class SendChallengeView extends View {
|
||||
final Button cancelButton = button();
|
||||
cancelButton.setText(AppContext.getString("cancel"));
|
||||
cancelButton.setOnAction(_ -> {
|
||||
IO.println("tried to click cancel");
|
||||
ViewStack.pop(); });
|
||||
|
||||
final List<Node> nodes = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user