Commit Graph

561 Commits

Author SHA1 Message Date
Bas Antonius de Jong
756cc58b10 Update src/main/java/org/toop/game/tictactoe/TicTacToe.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-18 17:26:17 +02:00
76360f70e4 Typo in feedback 2025-09-18 17:26:17 +02:00
16a48568e2 Added feedback to clients 2025-09-18 17:26:17 +02:00
cead168a18 Stops running the gamethread when win or draw 2025-09-18 17:26:17 +02:00
f42831ea78 Update TicTacToe.java 2025-09-18 17:26:17 +02:00
355f0c157e Update TicTacToe.java 2025-09-18 17:26:17 +02:00
Bas de Jong
3c3248b0db Removed unimportant code. 2025-09-18 15:28:12 +02:00
Bas de Jong
99c83d1361 Fixed takeFromCommandQueue returning void 2025-09-18 15:27:34 +02:00
Bas de Jong
974403242f Fixed takeFromCommandQueue returning void 2025-09-18 15:27:31 +02:00
Bas de Jong
826886f617 Fixed takeFromCommandQueue returning void 2025-09-18 15:27:27 +02:00
Bas de Jong
5fc3bddca8 Added takefromcommandqueue methods, removed throws and made internal to function 2025-09-18 15:20:34 +02:00
michiel
a6e97c5070 new ai update that passes all unit tests and does see wins 2025-09-18 14:11:29 +02:00
Bas de Jong
5511192c2b Updated ui 2025-09-18 13:50:42 +02:00
Bas de Jong
8f9d6da0c9 Readded window instantiation 2025-09-18 13:39:57 +02:00
Bas Antonius de Jong
fd2b4d8c2e Merge pull request #27 from 2OOP/Ticho
Updated .gitignore, removed some .idea files from repository
2025-09-18 13:14:47 +02:00
Bas Antonius de Jong
9a2ebcef82 Update .gitignore 2025-09-18 13:13:57 +02:00
Bas Antonius de Jong
1d9fa115ed Delete .idea/workspace.xml 2025-09-18 13:13:03 +02:00
Bas de Jong
23f1b9ea71 Updated .gitignore, removed some .idea files from repository 2025-09-18 13:03:52 +02:00
Bas Antonius de Jong
a894f42650 Merge pull request #26 from 2OOP/Michiel
Merge michiel branche with ServerManager for updated, working UI.
2025-09-18 13:01:49 +02:00
Bas Antonius de Jong
963a51238e Merge branch 'ServerManager' into Michiel 2025-09-18 13:01:09 +02:00
Bas Antonius de Jong
97ea5e2130 Merge pull request #25 from 2OOP/Ticho
Merge Ticho with ServerManager for use of updated events and UI
2025-09-18 12:49:07 +02:00
Bas de Jong
74bd636239 Centered game selector window, small fixes. 2025-09-18 12:48:16 +02:00
michiel
3fde9f5a64 new unit tests + a small improvement to the ai where it didnt instantly block during unit tests 2025-09-18 12:46:16 +02:00
Bas de Jong
0f6f8baee7 ServerManager logging 2025-09-18 11:45:39 +02:00
michiel
f85e0e187a nog een kleine fix waarbij die depth van 8 gebruikte in plaats van game.movesleft 2025-09-18 10:46:24 +02:00
michiel
593ff2696c most likely fixed the ai; it atleast isnt making dumb moves anymore 2025-09-18 10:15:51 +02:00
Bas de Jong
0cc57f558d Added the ability to tune the logger 2025-09-17 23:40:55 +02:00
Bas de Jong
26590e1939 Logging docs 2025-09-17 23:17:06 +02:00
lieght
5eb6e8ea37 Added second player to initial form 2025-09-17 20:31:50 +02:00
lieght
032d388f4f Added creating setting up a server for the user when the form is filled in 2025-09-17 20:12:36 +02:00
lieght
395dc8c603 Merge branch 'Ticho' of github.com:2OOP/pism_ttt into Ticho
# Conflicts:
#	src/main/java/org/toop/Main.java
#	src/main/java/org/toop/eventbus/Events.java
#	src/main/java/org/toop/game/TTT.java
#	src/main/resources/log4j2.xml
2025-09-17 19:47:04 +02:00
lieght
a056171644 Rebased 2025-09-17 19:39:08 +02:00
Ticho Hidding
e906e812fa Added GUI with swift. 2025-09-17 19:28:04 +02:00
ramollia
5fcb77fd92 add: own branch 2025-09-17 19:26:14 +02:00
lieght
82fd67d351 removed unecessary import 2025-09-17 18:36:48 +02:00
lieght
61264a9b43 Moved disable and enable logging to dedicated class, removed unecessary imports 2025-09-17 17:48:22 +02:00
lieght
4c0e70fc1f removed unused imports 2025-09-17 17:45:10 +02:00
lieght
23e0ee6c62 Added a quick function to disable logs 2025-09-17 17:44:50 +02:00
lieght
38ea15738c Fixed ai naming 2025-09-17 17:35:00 +02:00
ramollia
24f2034170 merge 2025-09-17 17:28:30 +02:00
ramollia
a502034685 add: cli ui connection with server 2025-09-17 17:25:54 +02:00
lieght
17a3827ef0 Removed unecessary space 2025-09-17 17:20:00 +02:00
lieght
0d4472c814 Documentation added for server events 2025-09-17 17:19:29 +02:00
Ticho Hidding
ef80baae5c Added GUI with swift. 2025-09-17 17:17:21 +02:00
lieght
4378852394 Created event for ReceivedMessage from connection 2025-09-17 16:52:47 +02:00
lieght
867eddb0ff Easier to read log pattern 2025-09-17 16:51:56 +02:00
lieght
49b9d5a87c Fixed .idea 2025-09-17 16:02:41 +02:00
lieght
620e98d29e Renamed command to SendCommand 2025-09-17 16:02:02 +02:00
lieght
4671885ad7 Fixed OMAR's neuk manoeuvre 2025-09-17 15:59:25 +02:00
lieght
6fe4239eb7 readded .idea 2025-09-17 15:52:33 +02:00