From 893720c794c0b9cd8faf3e7e67b672e00b7b1ce1 Mon Sep 17 00:00:00 2001 From: Ivan Davydov <lotigara@lotigara.ru> Date: Sat, 5 Apr 2025 19:42:08 +0300 Subject: Add clicker-ncurses.h --- clicker-ncurses.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 clicker-ncurses.h (limited to 'clicker-ncurses.h') diff --git a/clicker-ncurses.h b/clicker-ncurses.h new file mode 100644 index 0000000..b7c97c2 --- /dev/null +++ b/clicker-ncurses.h @@ -0,0 +1,14 @@ +struct game +{ + int click; + int multiplifier; + int score; +}; + +int get_score (struct game *game); +void set_score (struct game *game, int score); + +int get_click (struct game *game); +void set_click (struct game *game, int click); + +int get_multiplifier (struct game *game); -- cgit v1.2.3