update game_set_square

This commit is contained in:
Nathan Nunes committed 2021-11-30 23:18:38 +01:00
1 parent 5c58a81112
commit 7a9fda9929
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ Projet Techno
| [game_copy](./game.c#L43-51) | [game game_copy(cgame g)](./game.h#L90-96) | @thperrier | | <ul><li>[x] </li></ul> |
| [game_equal](./game.c#L53-62) | [bool game_equal(cgame g1, cgame g2)](./game.h#L98-106) | @thperrier | | <ul><li>[x] </li></ul> |
| [game_delete](./game.c#L64-72) | [void game_delete(game g);](./game.h#L108-113) | @thperrier | | <ul><li>[x] </li></ul> |
| [game_set_square](./game.c#L?) | [void game_set_square(game g, uint i, uint j, square s)](./game.h#L115-128) | @nnunes | | <ul><li>[ ] </li></ul> |
| [game_set_square](./game.c#L?) | [void game_set_square(game g, uint i, uint j, square s)](./game.h#L115-128) | @nnunes | | <ul><li>[x] </li></ul> |
| [game_get_square](./game.c#L78-80) | [square game_get_square(cgame g, uint i, uint j)](./game.h#L130-140) | @thoguet | | <ul><li>[X] </li></ul> |
| [game_get_state](./game.c#L?) | [square game_get_state(cgame g, uint i, uint j)](./game.h#L142-153) | @nnunes | | <ul><li>[ ] </li></ul> |
| [game_get_flags](./game.c#L?) | [square game_get_flags(cgame g, uint i, uint j)](./game.h#L155-166) | @nnunes | | <ul><li>[ ] </li></ul> |
+3 -2
View File
@@ -72,8 +72,9 @@ void game_delete(game g) {
}
void game_set_square(game g, uint i, uint j, square s) {
return;
}
g->tab_cell[i][j] = s;
return;
}
square game_get_square(cgame g, uint i, uint j) {
return g->tab_cell[i][j];