Commit Graph

473 Commits

Author SHA1 Message Date
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
ramollia
5a8840a789 fix: some small issues 2025-09-17 15:42:39 +02:00
lieght
6c0dd220a4 Biggest update in Tic Tac Toe kind 2025-09-17 15:08:44 +02:00
ramollia
b070906386 fix: minimax test 2025-09-17 14:56:38 +02:00
lieght
5be2be56ad Added logging to game 2025-09-17 13:03:26 +02:00
lieght
e1f2fe38e5 Changed formatting of string to be easier to read 2025-09-17 12:42:18 +02:00
ramollia
853c9f5c73 fix: conflicts 2025-09-17 11:00:58 +02:00
ramollia
aa7c870fdb add: cli ui 2025-09-17 10:44:53 +02:00
lieght
c6bf97aaa3 Fixed multithreading locking issues with posting commands 2025-09-16 23:20:54 +02:00
lieght
c52311bedc Game receives commands 2025-09-16 22:35:26 +02:00
lieght
45159ec659 Fixed no game found bug 2025-09-16 20:09:17 +02:00
Bas de Jong
dcbdfc9185 Is null, needs fix wip 2025-09-16 18:17:56 +02:00
Bas de Jong
5e3ba40bed Refactored TicTacToe game to be able to run multiple instances on a server 2025-09-16 17:27:17 +02:00
ramollia
df8928bdf4 update: pom.xml 2025-09-16 13:40:55 +02:00
Bas de Jong
3afd718d91 fixes 2025-09-16 12:54:41 +02:00
Bas de Jong
c5c4b3891d Fixed so it works 2025-09-16 12:52:02 +02:00
Bas de Jong
6bbc2a0bd9 IDK 2025-09-16 12:49:43 +02:00
Bas de Jong
82f4f0c2ac Move case done 2025-09-16 12:01:39 +02:00
Bas de Jong
9d7b387dec ServerMessage added to parsedcommand 2025-09-16 11:50:20 +02:00
Bas de Jong
137baa6a47 move parsing 2025-09-16 11:44:44 +02:00
ramollia
9538b42cea add: own branch 2025-09-16 11:23:48 +02:00
lieght
8605d510d9 start of gammethread parser 2025-09-15 21:55:27 +02:00
lieght
cef49fd4ac Moved files to better named folders 2025-09-15 20:37:27 +02:00
lieght
0685036951 Renamed TTT to TicTacToe, fixed grammer and spelling 2025-09-15 20:30:44 +02:00
lieght
27423d3337 Renamed TTT to TicTacToe, fixed grammer and spelling 2025-09-15 20:29:37 +02:00
lieght
aac96cc57c Removed and added to gitignore unecessary log files 2025-09-15 20:26:21 +02:00
Bas Antonius de Jong
34401dd35f AI TTT merge to ServerManager branche (#24)
* AI made and also a minor change to core board

* Minor changes to the AI, Gamebase changed a little to make some stuff public for usability, TTT changed a few things to public too and making the tests for the AI

* New test on the AI

* fixed some questionable styling in my code

* fixed some questionable styling in omar's code!

* fixed some questionable styling in omar's code! v2

* Update src/main/java/org/toop/game/MinMaxTTT.java

* Wrong value, was 9x9 grid, is now 3x3 grid

---------

Co-authored-by: michiel <m.brands.3@st.hanze.nl>
2025-09-15 20:12:25 +02:00
lieght
83b4038b2b TicTacToeServer 2025-09-15 19:35:27 +02:00
Bas de Jong
fe17404e80 Servermanager and default tcpserver 2025-09-15 19:04:21 +02:00
lieght
e2268a5d71 Init ServerManager 2025-09-15 00:16:43 +02:00
lieght
8a5dafebc8 Removed old tests 2025-09-14 01:45:10 +02:00
lieght
f7e42926a4 Added the ability to close and connect to a different server 2025-09-14 01:43:13 +02:00
lieght
a13eee3ecd Added multithreaded TcpClient and TcpServer 2025-09-13 23:39:13 +02:00
lieght
d17c1e010d Cnaged commandqueue to use an actually thread safe queue. Server now using String for setting backend. 2025-09-13 14:28:16 +02:00
lieght
fd20837e32 Moved theRemoteServerTimeline to private 2025-09-13 13:54:35 +02:00
lieght
3619791233 Refactored servercommands, added tcp client, added command queue. 2025-09-13 13:51:55 +02:00
lieght
c6bdbae46c Moved window to second thread. 2025-09-13 13:51:13 +02:00
Bas Antonius de Jong
1df97f990c Default local server values 2025-09-12 10:58:38 +02:00
Bas de Jong
a8e09f6775 Catch wrong backend exception. 2025-09-11 16:12:11 +02:00