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.
2022-01-24 00:14:44 +01:00
2021-12-09 18:22:16 +01:00
2021-10-28 10:37:12 +02:00
2022-01-20 17:05:21 +01:00
2021-12-09 10:11:27 +01:00
2022-01-15 22:19:36 +01:00
2022-01-15 22:19:36 +01:00
2022-01-24 00:14:44 +01:00
2022-01-23 23:56:09 +01:00
2022-01-23 20:09:11 +01:00
2022-01-08 23:05:17 +01:00
2021-12-16 12:13:27 +01:00
2022-01-15 22:23:01 +01:00
2021-12-16 11:30:22 +01:00
2022-01-12 22:19:20 +01:00

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]
S
Description
A game made from scratch in C implementing the "lightup" game
Readme
2.6 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 65.6%
Java 25.1%
JavaScript 4.9%
CMake 2.3%
HTML 1%
Other 1.1%