repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finalize the implementation of the playable shots list displaying
[Project_algorithmic_C.git]
/
lib
/
othello.h
diff --git
a/lib/othello.h
b/lib/othello.h
index 9800676693bd58f59919d56269428f3ed00c30ad..7146617a7a4136d3e2684cc0b6ece662597beea4 100644
(file)
--- a/
lib/othello.h
+++ b/
lib/othello.h
@@
-47,4
+47,7
@@
unsigned int count_pawns_type(unsigned int pawn_array[board_size][board_size], u
unsigned int valid_shot(int y, int x, unsigned int current_player, unsigned int pawn_array[board_size][board_size]);
unsigned int valid_shot(int y, int x, unsigned int current_player, unsigned int pawn_array[board_size][board_size]);
+void build_playable_shots_list(unsigned int current_player, struct shots_list_s* shots_list, unsigned int pawn_array[board_size][board_size]);
+void free_shots_list(struct shots_list_s* shots_list);
+
#endif /* OTHELLO_H */
#endif /* OTHELLO_H */