This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-01-12 22:19:20 +01:00

11 KiB

lightup-a42e

Projet Techno

⚠️ LE PREMIER QUI COMMIT DU CODE QUI COMPILE PAS JE L'ATTRAPE ⚠️

game_ext.h

Fonction REF Assigned to Notes Finished
game_new_ext game game_new_ext(uint nb_rows, uint nb_cols, square *squares, bool wrapping) @thoguet
  • [X]
game_new_empty_ext game game_new_empty_ext(uint nb_rows, uint nb_cols, bool wrapping); @thoguet
  • [X]
game_nb_rows uint game_nb_rows(cgame g); @nnunes
  • [X]
game_nb_cols uint game_nb_cols(cgame g); @nnunes
  • [X]
game_is_wrapping bool game_is_wrapping(cgame g); @nnunes
  • [X]
game_undo void game_undo(game g); @thperrier
  • [X]
game_redo void game_redo(game g); @thperrier
  • [X]

game.c

Fonction REF Assigned to Notes Finished
game_new game game_new(square *squares) @thperrier
  • [x]
game_new_empty game game_new_empty(void) @thperrier
  • [x]
game_copy game game_copy(cgame g) @thperrier
  • [x]
game_equal bool game_equal(cgame g1, cgame g2) @thperrier
  • [x]
game_delete void game_delete(game g); @thperrier
  • [x]
game_set_square void game_set_square(game g, uint i, uint j, square s) @nnunes
  • [x]
game_get_square square game_get_square(cgame g, uint i, uint j) @thoguet
  • [X]
game_get_state square game_get_state(cgame g, uint i, uint j) @nnunes
  • [x]
game_get_flags square game_get_flags(cgame g, uint i, uint j) @nnunes
  • [x]
game_is_blank bool game_is_blank(cgame g, uint i, uint j) @thperrier
  • [X]
game_is_lightbulb bool game_is_lightbulb(cgame g, uint i, uint j) @thperrier
  • [x]
game_is_black bool game_is_black(cgame g, uint i, uint j) @thoguet
  • [X]
game_get_black_number int game_get_black_number(cgame g, uint i, uint j) @thoguet
  • [X]
game_is_marked bool game_is_marked(cgame g, uint i, uint j) @nnunes
  • [x]
game_is_lighted bool game_is_lighted(cgame g, uint i, uint j) @nnunes
  • [x]
game_has_error bool game_has_error(cgame g, uint i, uint j) @nnunes
  • [x]
game_check_move bool game_check_move(cgame g, uint i, uint j, square s) @thoguet
  • [X]
game_play_move void game_play_move(game g, uint i, uint j, square s) @thoguet
  • [X]
game_update_flags void game_update_flags(game g) @thoguet
  • [X]
game_is_over bool game_is_over(cgame g) @thoguet
  • [X]
game_restart void game_restart(game g) @thoguet
  • [X]

Test

Test REF Assigned to Notes Finished
game_new game game_new(square *squares) @thoguet
  • [x]
game_new_empty game game_new_empty(void) @thperrier
  • [X]
game_copy game game_copy(cgame g) @thperrier
  • [X]
game_equal bool game_equal(cgame g1, cgame g2) @thperrier
  • [X]
game_delete void game_delete(game g); @thperrier
  • [x]
game_set_square void game_set_square(game g, uint i, uint j, square s) @nnunes
  • [X]
game_get_square square game_get_square(cgame g, uint i, uint j) @thoguet
  • [x]
game_get_state square game_get_state(cgame g, uint i, uint j) @nnunes
  • [X]
game_get_flags square game_get_flags(cgame g, uint i, uint j) @nnunes
  • [X]
game_is_blank bool game_is_blank(cgame g, uint i, uint j) @thperrier
  • [x]
game_is_lightbulb bool game_is_lightbulb(cgame g, uint i, uint j) @thperrier
  • [x]
game_is_black bool game_is_black(cgame g, uint i, uint j) @thperrier
  • [x]
game_get_black_number int game_get_black_number(cgame g, uint i, uint j) @thperrier
  • [x]
game_is_marked bool game_is_marked(cgame g, uint i, uint j) @nnunes
  • [X]
game_is_lighted bool game_is_lighted(cgame g, uint i, uint j) @nnunes
  • [X]
game_has_error bool game_has_error(cgame g, uint i, uint j) @nnunes
  • [x]
game_check_move bool game_check_move(cgame g, uint i, uint j, square s) @thoguet
  • [X]
game_play_move void game_play_move(game g, uint i, uint j, square s) @thoguet
  • [X]
game_update_flags void game_update_flags(game g) @thoguet done but not sure if it test every possibilites
  • [X]
game_is_over bool game_is_over(cgame g) @thoguet
  • [X]
game_restart void game_restart(game g) @thoguet
  • [X]
game_print void game_print(cgame g) @thoguet
  • [X]
game_default game game_default(void) @thoguet
  • [X]
game_default_solution game game_default_solution(void) @thoguet
  • [X]