adam and Claude Opus 5.5
d34d98c15d
only update stats for the daily game
...
update_stats ran for every online game, so practice games played after
the daily counted towards played/wins/losses and a practice loss reset
the streak. Move it inside the DAILY_DONE check with the board files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-29 17:27:24 +00:00
adam and Claude Opus 5.5
8dfebaa9f8
zero pad decimal part of average guesses
...
An average of 3.04 was shown as 3.4 because the hundredths weren't
padded. Pad with parameter expansion to keep the script bash-only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-29 17:24:24 +00:00
adam and Claude Opus 5.5
f29d81e932
keep hard mode hints when resuming a game
...
hard_mode_check uses the previous row's greens and yellows, but these
weren't written to the progress file, so after resuming a game the next
guess could drop known green and yellow letters. Save them alongside
the rest of the game state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-29 17:19:24 +00:00
adam and Claude Opus 5.5
73f403693a
save progress after every guess
...
Progress was only saved at the start of a game and on Ctrl-C, so a
dropped connection lost every guess made so far. Ctrl-C during the
reveal also saved the scored row without advancing ROW, which gave the
player that guess back on resume.
Save straight after each guess is scored (before the reveal) with the
next row, record the result before the final reveal, and make the
SIGINT trap only tidy up the terminal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-29 17:17:20 +00:00
abrown38 and Claude Opus 5.5
1f6a5b4a44
validate username in online mode
...
Usernames are used in file names and URLs, so a '/' could write files
outside the game directory and a space broke the share links. Only
allow a-z, 0-9 and _ (max 32 chars) and re-prompt otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-29 17:12:44 +00:00
abrown38
437d46e975
add colour to keyboard
2026-09-29 17:07:46 +00:00
adam
7621938f04
set program name in help message
Deploy game to server / deploy (push) Successful in 8s
2026-02-11 21:43:00 +00:00
adam
1a9a440509
fix duplicate path in URL
Deploy game to server / deploy (push) Successful in 6s
2026-01-21 12:48:48 +00:00
adam
d9a7c94125
add link to website
Deploy game to server / deploy (push) Successful in 7s
2025-11-29 03:50:26 +00:00
adam
efa709e34e
add online mode flag to help message
Deploy game to server / deploy (push) Successful in 8s
2025-11-23 21:22:10 +00:00
adam
a7cdb712fd
fix typo in function name
Deploy game to server / deploy (push) Successful in 7s
2025-09-27 21:14:39 +00:00
adam
75074d8e84
add stats url to online mode
Deploy game to server / deploy (push) Successful in 7s
2025-08-28 09:59:26 +00:00
adam
3487adf34c
exit save_result if not in online mode
Deploy game to server / deploy (push) Successful in 30s
2025-04-23 21:22:03 +00:00
adam
2194d495e6
extra file for current board
Deploy game to server / deploy (push) Successful in 42s
2025-03-03 12:07:43 +00:00
adam
005a129919
change help message format
Deploy game to server / deploy (push) Successful in 6s
2025-02-22 20:00:30 +00:00
adam
bdb3d4e4d1
Move signal trap initialization after game mode questions - Prevent progress files after incorrect username
2025-02-22 19:41:46 +00:00
adam
6bbcc5229b
save progress at start of a game
2025-02-22 19:38:06 +00:00
adam
4029c00edc
remove $ where not needed
2025-02-22 19:22:45 +00:00
adam
8327678209
only show board on daily win
Deploy game to server / deploy (push) Successful in 6s
2025-02-21 13:21:04 +00:00
adam
d496319361
Add guess count out of 6 on win
Deploy game to server / deploy (push) Successful in 7s
2025-02-21 13:12:19 +00:00
adam
107fd30b00
print spoiler free board after a game
2025-02-21 13:07:03 +00:00
adam
0a5d0be050
change spacing on math
Deploy game to server / deploy (push) Successful in 7s
2025-02-20 12:50:17 +00:00
adam
357c74cf08
calculate average guesses and fix divide by 0 bug
Deploy game to server / deploy (push) Successful in 8s
2025-02-16 17:05:57 +00:00
adam
e138f71a62
start games played at 0
Deploy game to server / deploy (push) Successful in 6s
2025-02-14 16:31:02 +00:00
adam
064b85aac2
add 1 to graph axis to match number of guesses
Deploy game to server / deploy (push) Successful in 7s
2025-02-14 16:27:01 +00:00
adam
fba5cc07ae
fix pool issue bug
Deploy game to server / deploy (push) Successful in 5s
2025-02-14 16:14:31 +00:00
adam
ce2a14fbe6
track stat
Deploy game to server / deploy (push) Successful in 6s
2025-02-14 16:00:39 +00:00
adam
138c254591
initalise stats to 0 and always update
Deploy game to server / deploy (push) Successful in 7s
2025-02-14 14:43:07 +00:00
adam
dfe8ea7f13
track user stats
2025-02-14 14:05:45 +00:00
adam
1ee78db9bf
only print share URL after daily wordle
Deploy game to server / deploy (push) Successful in 7s
2025-02-13 23:43:14 +00:00
adam
da696e5df2
display share URL with online mode
Deploy game to server / deploy (push) Successful in 7s
2025-02-13 23:37:03 +00:00
adam
00490f53c7
Merge branch 'feature/online_mode'
Deploy game to server / deploy (push) Successful in 7s
2025-02-12 19:42:35 +00:00
adam
8d92cfe57d
fix strict hard mode pool bug with double letters
2025-02-12 19:21:14 +00:00
adam
a7a19d33b6
uncomment epoch thing
2025-02-12 13:50:06 +00:00
adam
2dc552c74e
after daily word complete new words can be played
2025-02-12 13:36:01 +00:00
adam
556c1ec598
working, may still be bugs
2025-02-12 11:30:38 +00:00
adam
ab97bcea65
resume partially working
2025-02-11 20:43:28 +00:00
adam
7d14d5dae9
use proper newline
Deploy game to server / deploy (push) Successful in 7s
2025-02-11 19:57:08 +00:00
adam
f73667b6a9
change format order
2025-02-10 19:12:35 +00:00
adam
47ab1d243e
only bold for letters
2025-02-10 16:38:47 +00:00
adam
1cbdfe5858
go to start of terminal outside of render board
2025-02-10 16:24:28 +00:00
adam
31a7332af1
divide instead to get number of day since epoch
Deploy game to server / deploy (push) Successful in 8s
2025-02-10 16:09:13 +00:00
adam
7c3b695737
output user results
Deploy game to server / deploy (push) Successful in 6s
2025-02-10 16:00:30 +00:00
adam
e6b5a3da7a
Interactive prompt for online mode
Deploy game to server / deploy (push) Successful in 6s
2025-02-10 13:05:06 +00:00
adam
c530058c9b
hard mode now check all previous rounds for yellow placement
Deploy game to server / deploy (push) Successful in 7s
2025-02-10 13:00:11 +00:00
adam
fa2fdf80b7
fix filename
Deploy game to server / deploy (push) Successful in 5s
2025-02-08 20:12:34 +00:00
adam
2ff11722b4
add deploy workflow
Deploy game to server / deploy (push) Failing after 4s
2025-02-08 20:11:31 +00:00
adam
26e4eeb356
remove output
2025-02-07 16:19:06 +00:00
adam
7e280ce64b
fix win logic error
2025-02-07 15:39:05 +00:00
adam
0cf5a68052
reset before restoring cursor position
2025-02-07 15:26:06 +00:00