Commit graph

47 commits

Author SHA1 Message Date
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
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
252d228cb6
* add padding for title
* clear screen with rgb color
* better detection of endloop
* assert if malloc 0
2022-11-15 13:02:58 +01:00
1e237fbaeb
allocate perfect size for malloc 2022-11-15 10:43:47 +01:00
caa56946d0
use origin 2022-11-15 09:20:13 +01:00
628ccf948c
fix typo 2022-11-15 00:30:30 +01:00
1c45bc9e8d
add table 2022-11-14 23:55:36 +01:00
6834b41c2f
add gl4d support 2022-11-14 16:05:04 +01:00
e0e9557e71
add makefile and main fn 2022-11-13 17:34:17 +01:00