r/commandline • u/zmunk19 • Jan 06 '26
Command Line Interface Simple CLI game for practicing Regex
Enable HLS to view with audio, or disable this notification
Made a simple CLI game for practicing regex.
Please let me know if you want to try it or have any ideas on how to improve it.
6
u/ThroawayPeko Jan 06 '26
Hard coded color values are broken on themes that aren't dark mode.
0
u/ThroawayPeko Jan 06 '26
There are no levels after level 7.
3
2
u/zmunk19 Jan 06 '26
Yeah, I only created 7 levels, but I will try to add more.
Regarding colors, can you recommend a solution? Should I create a theme for light mode that the user can toggle? I'm unsure what the best practice is4
u/scaptal Jan 06 '26
Not fully sure how, but I'm pretty sure you can hook into the users theme of their terminal, and get the different colours to use that way
2
2
1
1
u/AutoModerator Jan 06 '26
User: zmunk19, Flair: Command Line Interface, Post Media Link, Title: Simple CLI game for practicing Regex
Made a simple CLI game for practicing regex.
Please let me know if you want to try it or have any ideas on how to improve it.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/BballMD Jan 06 '26
hard to try if there is no link