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.

lightup-a42e

game game_new(square *squares) -> thoguet -> fait

game game_new_empty(void) -> thperrier -> fait

game game_copy(cgame g) -> thperrier -> à faire

bool game_equal(cgame g1, cgame g2) -> thperrier -> à faire

void game_delete(game g) -> thperrier -> à faire

void game_set_square(game g, uint i, uint j, square s) -> nnunes -> à faire

square game_get_square(cgame g, uint i, uint j) -> thoguet -> fini

square game_get_state(cgame g, uint i, uint j) -> nnunes -> à faire

square game_get_flags(cgame g, uint i, uint j) -> nnunes -> à faire

bool game_is_blank(cgame g, uint i, uint j) -> thperrier -> à faire

bool game_is_lightbulb(cgame g, uint i, uint j) -> thperrier -> à faire

bool game_is_black(cgame g, uint i, uint j) -> thperrier -> à faire

int game_get_black_number(cgame g, uint i, uint j) -> thperrier -> à faire

bool game_is_marked(cgame g, uint i, uint j) -> nnunes -> à faire

bool game_is_lighted(cgame g, uint i, uint j) -> nnunes -> à faire

bool game_has_error(cgame g, uint i, uint j) -> nnunes -> à faire

bool game_check_move(cgame g, uint i, uint j, square s) -> nnunes -> à faire

void game_play_move(game g, uint i, uint j, square s) -> nnunes -> à faire

void game_update_flags(game g) -> thoguet -> pas fait

bool game_is_over(cgame g) -> thoguet -> pas fait

void game_restart(game g) -> thoguet -> fait

void game_print(cgame g) -> thoguet -> fini

game game_default(void) -> thoguet -> fini

game game_default_solution(void) -> thoguet -> fini

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%