day streak and further wordle dev

This commit is contained in:
David Volovskiy
2024-08-15 08:17:10 -04:00
parent ee53e83ae7
commit 3a24ede3de
3 changed files with 72 additions and 26 deletions

View File

@@ -50,6 +50,9 @@ typedef enum {
SCREEN_RESULT,
SCREEN_TITLE,
SCREEN_STREAK,
#if USE_DAILY_STREAK
SCREEN_WAIT,
#endif
SCREEN_WIN,
SCREEN_LOSE,
SCREEN_COUNT
@@ -66,7 +69,7 @@ typedef struct {
uint8_t streak;
WordleScreen curr_screen;
#if USE_DAILY_STREAK
// For the day info
uint32_t prev_day;
#endif
} wordle_state_t;