Commit graph

68 commits

Author SHA1 Message Date
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
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
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
0d1d3d584c
pedantic related to std 2022-11-17 17:01:11 +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
2d408a24f7
typo 2022-11-16 15:35:32 +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
1343ebcb3f
* O3 not in dev
* add ldflags for fsanitize
2022-11-16 10:31:06 +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
9b1046667d
add todo 2022-11-15 14:58:49 +01:00
cbf3651452
revert old way of checking the end of array 2022-11-15 14:55:35 +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
3f324d671a
remove unnecessary import 2022-11-15 13:49:29 +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
b02c5a3d46
mention the used font 2022-11-15 13:48:47 +01:00