Commit graph

53 commits

Author SHA1 Message Date
68c7f2824a
add winrate test 2022-12-04 21:05:28 +01:00
afcf0f07a4
add tests 2022-12-04 18:25:35 +01:00
652b718b2b
init: tests 2022-12-04 18:06:01 +01:00
2db2ce9a26
useless include 2022-12-04 18:05:52 +01:00
30e5aed2e0
add cli interface 2022-12-04 17:53:24 +01:00
670ab29be4
add const keyword 2022-11-28 21:06:59 +01:00
79613e27bc
add alphabeta algorithm 2022-11-21 00:40:53 +01:00
e2e44f7f2c
remove dead code 2022-11-20 23:54:52 +01:00
e81c8cbe28
FINALLY !!!!!! 2022-11-20 15:50:55 +01:00
8ed2c694fe
exactly follow the course..? 2022-11-19 18:14:03 +01:00
32007bd44b
follow course 2022-11-19 17:15:37 +01:00
9d3e8b0914
more minimax stuff 2022-11-19 15:50:58 +01:00
573f35d246
* impl list copy
* select stream when printing list
2022-11-19 15:50:43 +01:00
3b45f4cde9
* show token
* minimax as black
2022-11-19 15:50:18 +01:00
99fa3af788
start minimax impl 2022-11-19 11:40:52 +01:00
5630568c89
add min and max 2022-11-19 11:40:39 +01:00
f3f8cb9293
add.. something? 2022-11-18 17:09:15 +01:00
11a77f5331
remove useless include 2022-11-18 16:53:54 +01:00
e72ec34803
add minimax files 2022-11-18 16:49:19 +01:00
507695d621
refactor: .h 2022-11-18 16:35:36 +01:00
c7141b1b8e
* add possibilites in a dedicated struct
* add somes fixes?
2022-11-18 15:15:18 +01:00
571dee4435
print list 2022-11-18 15:08:37 +01:00
5ef1f3fd98
add some game logic 2022-11-18 13:56:01 +01:00
a69f00e3ae
spaces 2022-11-18 13:55:37 +01:00
7fc4214b1a
* add fn about the play itself
* update comments
* ask the human player to play something
* hide temporarly unused args warning
2022-11-17 23:25:09 +01:00
198352de4b
include utils 2022-11-17 23:17:57 +01:00
f214991a8b
add uppercase fn 2022-11-17 23:17:45 +01:00
36a73d74ad
typo 2022-11-17 22:14:04 +01:00
2eae2e2f1e
* select the winner
* check if move playable
2022-11-17 22:01:25 +01:00
0d24785b3e
add some fn 2022-11-17 21:07:17 +01:00
2a2d2c4dd6
add some fn 2022-11-17 20:53:06 +01:00
f80c7f340b
start handling of the game 2022-11-17 20:24:22 +01:00
c4fa61ea97
clean up 2022-11-17 16:59:18 +01:00
7b6adecaa1
change headers 2022-11-17 16:51:56 +01:00
99131e2e46
follow wikipedia printing 2022-11-17 16:34:00 +01:00
01447538e9
opt + fix a memory leak 2022-11-16 16:29:39 +01:00
2d408a24f7
typo 2022-11-16 15:35:32 +01:00
3a63db3da1
add global property 2022-11-16 15:27:49 +01:00
349731ce02
print the table 2022-11-16 15:13:53 +01:00
1f3d98cc78
init table 2022-11-16 11:40:13 +01:00
559e41ed50
impl chained list 2022-11-16 11:40:06 +01:00
ca60bb907f
remove main.h 2022-11-16 11:38:00 +01:00
96115462b7
add structs 2022-11-16 10:31:18 +01:00
c324fba1f5
remove gl4d stuff 2022-11-16 09:25:07 +01:00
8abd8aafa1
better text impl 2022-11-15 23:44:29 +01:00
cbc804efd2
remove font warnings 2022-11-15 15:09:28 +01:00
205760ea89
fix text display 2022-11-15 14:17:54 +01:00
44188694fb
text related 2022-11-15 13:49:40 +01:00
5600ddcd9d
move import at the top 2022-11-15 13:49:12 +01:00
f44561c3dc
init the pointer as null 2022-11-15 13:49:02 +01:00