adding game.c + edit CMake
This commit is contained in:
1 parent
aff9199b4f
commit
4448ffb3a1
2 files changed
+124
-1
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ target_link_libraries(game_text game)
|
||||
target_link_libraries(game_test_thoguet game)
|
||||
target_link_libraries(game_test_thperrier game)
|
||||
target_link_libraries(game_test_nnunes game)
|
||||
add_library (game game.o game_aux.c)
|
||||
add_library (game game.c game_aux.c)
|
||||
|
||||
add_test(test_thoguet_dummy ./game_test_thoguet dummy)
|
||||
add_test(test_thoguet_game_new ./game_test_thoguet game_new)
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
#include "game.h"
|
||||
|
||||
game game_new(square *squares){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
game game_new_empty(void){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
game game_copy(cgame g){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
bool game_equal(cgame g1, cgame g2){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
void game_delete(game g){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void game_set_square(game g, uint i, uint j, square s){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
square game_get_square(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
square game_get_state(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
square game_get_flags(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_blank(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_lightbulb(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_black(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int game_get_black_number(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_marked(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_lighted(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_has_error(cgame g, uint i, uint j){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
bool game_check_move(cgame g, uint i, uint j, square s){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void game_play_move(game g, uint i, uint j, square s){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void game_update_flags(game g){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool game_is_over(cgame g){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void game_restart(game g){
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user