Commit graph

63 commits

Author SHA1 Message Date
32007bd44b
follow course 2022-11-19 17:15:37 +01:00
7cbca7bffb
add info about the missing token 2022-11-19 17:15:16 +01:00
2338e83df9
move copy of the game to the game source file 2022-11-19 17:15:05 +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
48afc879b3
check if play is legal 2022-11-18 16:09:04 +01:00
8653ef4d83
fix print of linked list 2022-11-18 16:08:47 +01:00
7e00f37208
* display fullname of player
* print the final board at the end
2022-11-18 16:08:37 +01:00
6cbf0fc507
fix exploit 2022-11-18 15:17:24 +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
960eec10c3
start at the middle whatever the size of the game 2022-11-18 14:32:52 +01:00
7e075e654b
fix linked list 2022-11-18 14:25:00 +01:00
4c66a67694
why am i doing that 2022-11-18 14:22:25 +01:00
5ef1f3fd98
add some game logic 2022-11-18 13:56:01 +01:00
633b76be01
refactor 2022-11-18 13:55:48 +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
f214991a8b
add uppercase fn 2022-11-17 23:17:45 +01:00
37c9fb3445
newlines 2022-11-17 22:24:23 +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
882fe8a27b
add possible improvement 2022-11-17 20:53:04 +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
434a836ecb
changes table print fn 2022-11-16 17:00:07 +01:00
72b597b1fc
fix 2 for the linked list 2022-11-16 16:46:17 +01:00
26c9fe99ca
remove comment 2022-11-16 16:40:26 +01:00
4ed9bbe8bf
fix chained list 2022-11-16 16:40:00 +01:00
01447538e9
opt + fix a memory leak 2022-11-16 16:29:39 +01:00
b202c75008
fill the board when creating a new party since we need it 2022-11-16 15:30:40 +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
6e337dc97d
remove unnecessary include 2022-11-16 11:39:40 +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