Yorick Barbanneau
|
bc3b831d42
|
Set correct player for outer_ttt in play(move)
|
2021-10-08 17:05:17 +02:00 |
|
Yorick Barbanneau
|
777480000d
|
Bad winner when check second diagonale
|
2021-10-08 17:02:46 +02:00 |
|
Yorick Barbanneau
|
dd55f8fa05
|
Little moficitations in play_move()
|
2021-10-08 17:00:14 +02:00 |
|
Yorick Barbanneau
|
ed98fa9d32
|
Rewrite set_tictactoe_winner()
|
2021-10-08 16:52:28 +02:00 |
|
Yorick Barbanneau
|
c1a0446402
|
Add a test for i in set_tictactoe_winner()
|
2021-10-08 16:39:57 +02:00 |
|
Yorick Barbanneau
|
943e63ee45
|
Wrong test for winner in play_move()
|
2021-10-08 15:34:15 +02:00 |
|
Yorick Barbanneau
|
d4ce681a9d
|
Define outer_ttt winner (if one) un play_move()
|
2021-10-08 15:32:11 +02:00 |
|
Yorick Barbanneau
|
10d2bca697
|
Update p_uttt in play_move)
|
2021-10-08 15:25:52 +02:00 |
|
Yorick Barbanneau
|
514e9f397f
|
Fist version of play_move()
|
2021-10-08 15:17:11 +02:00 |
|
Yorick Barbanneau
|
0e8fb22424
|
Re-add winner test for outer_ttt in is_move_valid()
|
2021-10-07 23:23:18 +02:00 |
|
Yorick Barbanneau
|
e6449a2013
|
Determine if inner_ttt case is free
in is_move_valid()
|
2021-10-07 22:46:46 +02:00 |
|
Yorick Barbanneau
|
7e7502dcec
|
Rewrite is_move_valid()
|
2021-10-07 22:30:36 +02:00 |
|
Yorick Barbanneau
|
0ff026b4ca
|
Avoid segfault when testing p_uttt->history
in get_next_outter_position()
|
2021-10-07 22:02:12 +02:00 |
|
Yorick Barbanneau
|
f319f0e53c
|
Add missing test
|
2021-10-01 17:20:15 +02:00 |
|
Yorick Barbanneau
|
8074c40810
|
Test for get_next_player_to_play()
|
2021-10-01 17:16:30 +02:00 |
|
Yorick Barbanneau
|
dd3ed1fce2
|
Remove test on last player
|
2021-10-01 17:00:19 +02:00 |
|
Yorick Barbanneau
|
26fd5b1d5b
|
Update get_next_player_to_play()
|
2021-10-01 16:57:39 +02:00 |
|
Yorick Barbanneau
|
4f88097937
|
Add missing }, because i'm too fool
|
2021-10-01 16:52:49 +02:00 |
|
Yorick Barbanneau
|
09754638de
|
Add BOTH in set_tictactoe_winner
|
2021-10-01 16:50:18 +02:00 |
|
Yorick Barbanneau
|
c342b2c416
|
Update get_next_player()
|
2021-10-01 16:40:30 +02:00 |
|
Yorick Barbanneau
|
48c6360b0d
|
update is_move_valid
|
2021-10-01 16:19:21 +02:00 |
|
Yorick Barbanneau
|
aa72f3bc30
|
revert change
|
2021-10-01 15:47:07 +02:00 |
|
Yorick Barbanneau
|
ca1a5997aa
|
Add bin for exectutable output
|
2021-10-01 15:43:18 +02:00 |
|
Yorick Barbanneau
|
e6639a159c
|
First working cmake version
|
2021-10-01 01:23:36 +02:00 |
|
Yorick Barbanneau
|
94c88d09e9
|
Make Valgind Happy (on my compuper)
|
2021-10-01 00:50:29 +02:00 |
|
Yorick Barbanneau
|
82cc816f76
|
Error in pointer
|
2021-10-01 00:25:35 +02:00 |
|
Yorick Barbanneau
|
b44e75e56e
|
Add CMakeLists files
|
2021-10-01 00:07:29 +02:00 |
|
Yorick Barbanneau
|
f33b6c8acb
|
Add model
|
2021-10-01 00:03:33 +02:00 |
|
Yorick Barbanneau
|
90508a3b3b
|
Rework contest argument parsing.
|
2021-09-17 16:43:35 +02:00 |
|
Yorick Barbanneau
|
b16d91fb2e
|
return an exti(), seriously?
|
2021-09-17 16:37:25 +02:00 |
|
Yorick Barbanneau
|
82cf981df2
|
Add exit() at the end of programm
|
2021-09-17 16:34:51 +02:00 |
|
Yorick Barbanneau
|
34de202ded
|
Change text for -c argument
|
2021-09-17 16:30:31 +02:00 |
|
Yorick Barbanneau
|
5de78910db
|
Add verbose option
|
2021-09-17 16:19:26 +02:00 |
|
Yorick Barbanneau
|
9f40993a49
|
Add correct error message on unknown parameter
|
2021-09-17 16:16:45 +02:00 |
|
Yorick Barbanneau
|
4434b17035
|
change access() R_OK to F_OK for testing purpose
|
2021-09-17 16:09:51 +02:00 |
|
Yorick Barbanneau
|
8124b83e36
|
Rename contest to contest_mode
|
2021-09-17 16:01:33 +02:00 |
|
Yorick Barbanneau
|
9e06e265cc
|
Update help message
|
2021-09-17 15:54:18 +02:00 |
|
Yorick Barbanneau
|
b55c859c4f
|
contest is now required
|
2021-09-17 15:46:13 +02:00 |
|
Yorick Barbanneau
|
6dcb9d356f
|
contest file now working
|
2021-09-15 23:55:50 +02:00 |
|
Yorick Barbanneau
|
fede23cba7
|
Error if option is passed to contest argument
|
2021-09-15 23:03:40 +02:00 |
|
Yorick Barbanneau
|
49a797a179
|
Rework arguments handle
|
2021-09-15 22:53:56 +02:00 |
|
Yorick Barbanneau
|
e6c14f6bff
|
Level0 build into current directory
Not src/
|
2021-09-14 00:11:49 +02:00 |
|
Yorick Barbanneau
|
677f7f5be0
|
Add version display
|
2021-09-14 00:06:40 +02:00 |
|
Yorick Barbanneau
|
e47e1e4f7a
|
remove useless line ot building uttt
|
2021-09-13 23:54:06 +02:00 |
|
Yorick Barbanneau
|
1623df8006
|
Write level0 Makefile
|
2021-09-13 23:42:30 +02:00 |
|
Yorick Barbanneau
|
81c34439a3
|
First commit
|
2021-09-13 22:49:50 +02:00 |
|