50 Commits

Author SHA1 Message Date
William Raendchen
b1df1b1fbd
fix: first suggestion always correct (#11)
* feat: randomize suggestions and store correct answer in BinaryNumbersPuzzle

* feat: remove unused fields and update assertions in BinaryNumbersPuzzle

* feat: update documentation for raw_current_number and clarify signed mode handling

* cleanup

* cleanup

* cleanup
2025-12-03 10:29:18 +01:00
epic-64
503f9eef0b feat: add build script for cross-platform executables and update version to 0.3.0 2025-12-01 00:00:00 +01:00
epic-64
a67d852437 docs: add toggle for signed/unsigned mode in controls section 2025-12-01 00:00:00 +01:00
epic-64
59496a70b6 update color for bits::eight 2025-12-01 00:00:00 +01:00
William Raendchen
5e078073a5
feat: animate splash screen (#8)
* improved splash screen
* improved menu
* added signed mode (two's complement) for all game modes
2025-12-01 21:54:26 +01:00
William Raendchen
c22617f642
Merge pull request #9 from lucaspalomodevelop/main
Add 4-bit Two’s Complement mode
2025-12-01 21:21:44 +01:00
714f9ec187
formating 2025-12-01 18:26:40 +01:00
b0ba9e63bd
Merge branch 'epic-64:main' into main 2025-11-29 11:08:57 +01:00
1b91536a5e
add FourTwosComplement Mode 2025-11-29 11:08:06 +01:00
William Raendchen
cb4ea13866
link readme CI status to main branch 2025-11-25 13:13:48 +01:00
William Raendchen
de05e0c91c
cleanup: remove obsolete code, configure rustfmt and clippy (#7)
* chore: remove unnecessary needs_render checks from game logic

* chore: remove needs_render flag and related logic from game state

* chore: add rustfmt configuration file for consistent formatting

* chore: clean up imports and formatting in app.rs, binary_numbers.rs, main_screen_widget.rs, rustfmt.toml, and utils.rs

* chore: remove outdated comment from binary_numbers.rs

* chore: remove outdated comments from binary_numbers.rs

* chore: extract game over rendering logic into a separate function

* run clippy fix

* chore: add Clippy configuration files for linting thresholds

* run clippy fix

* chore: allow clippy warnings in selected places. check fix later

* docs: add command docs for linting and formatting

* docs: add command docs for linting and formatting

* split BinaryNumbersPuzzle.render_ref into several sub functions for rendering different areas.

* chore: adjust clippy lint levels to allow certain patterns

* chore: add CI configuration with testing, clippy, and formatting jobs

* cargo fmt

* chore: simplify clippy and formatting commands in CI configuration

* chore: consolidate cargo caching in CI configuration

* chore: replace cargo caching with rust-cache action in CI configuration

* chore: use is_multiple_of for streak check in score calculation

* chore: simplify game over check in render logic
2025-11-22 15:24:40 +01:00
William Raendchen
9a19822aaf
Merge pull request #5 from 0xAdk/feat/vim_keybinds
Add vim keybinds
2025-11-20 17:33:58 +01:00
0xadk
c43e37553e add vim keybindings 2025-11-20 08:32:22 -08:00
0xadk
ebc1ce1225 refactor keybind checking into it's own module 2025-11-20 08:32:22 -08:00
0xadk
9b56dee062 run clippy --fix 2025-11-20 08:32:22 -08:00
epic-64
69de23c76b feat: add MIT license and update README with license information 2025-11-20 00:00:00 +01:00
William Raendchen
d05c75000c
Merge pull request #4 from epic-64/performance-adaptive-polling
performance: adaptive polling
2025-11-19 18:25:47 +01:00
William Raendchen
0941e72d7d
add video to README, via user-attachments 2025-11-19 17:14:59 +01:00
epic-64
b37831df97 chore: remove resource conscious section from README 2025-11-19 00:00:00 +01:00
epic-64
42e5023c3e fix: remove video tag from readme 2025-11-19 00:00:00 +01:00
William Raendchen
e81f744916
Merge pull request #3 from orhun/chore/add-demo-video
Add demo video
2025-11-19 17:00:58 +01:00
Orhun Parmaksız
92821fdc1a
Add demo video 2025-11-19 12:51:11 +03:00
epic-64
2cc18bbfae feat: store and retrieve last selected index in start menu 2025-11-19 00:00:00 +01:00
epic-64
241693217e test: add check for skip_first_dt flag in puzzle timeout behavior 2025-11-19 00:00:00 +01:00
epic-64
7be94e225a feat: add skip_first_dt flag to prevent timer jump on new puzzle start 2025-11-19 00:00:00 +01:00
epic-64
f6d1b8b6f6 Merge remote-tracking branch 'origin/main' into performance-adaptive-polling 2025-11-19 17:18:08 +01:00
epic-64
f949501c59 docs: update recommended terminals section in README 2025-11-19 00:00:00 +01:00
epic-64
d4db975fcb feat: update needs_render flag handling for performance mode 2025-11-19 00:00:00 +01:00
epic-64
26b8b6fde5 feat: advance game state before rendering to update stats 2025-11-19 00:00:00 +01:00
epic-64
918dc45226 feat: add adaptive FPS mode handling based on game state 2025-11-19 00:00:00 +01:00
epic-64
3e1933deb7 feat: implement adaptive polling for FPS handling in game states 2025-11-19 00:00:00 +01:00
epic-64
b21037a57c use indoc for proper string formatting 2025-11-10 00:00:00 +01:00
epic-64
34533e6105 docs: clarify instructions for building from source in README 2025-11-08 00:00:00 +01:00
epic-64
5f69aef75a docs: add controls section to README 2025-11-08 00:00:00 +01:00
epic-64
3f40f31252 docs: enhance README with colorblind accessibility information and gameplay details 2025-11-08 00:00:00 +01:00
epic-64
3c17be912a docs: update README with game features and retro aesthetics 2025-11-08 00:00:00 +01:00
epic-64
30f260f0ab add ratatui badge 2025-11-08 00:00:00 +01:00
epic-64
6ec0d83c0b docs: update README with installation instructions for Linux and building from source 2025-11-08 00:00:00 +01:00
epic-64
003a28cf1b cleanup 2025-11-08 00:00:00 +01:00
epic-64
2a209c79c9 cleanup 2025-11-08 00:00:00 +01:00
epic-64
5d45e0af14 add tests 2025-11-08 00:00:00 +01:00
epic-64
0024cb1219 cleanup: remove redundant comment in binary_numbers.rs 2025-11-08 00:00:00 +01:00
epic-64
69c108b516 cleanup: remove outdated comment in BinaryNumbersPuzzle struct 2025-11-08 00:00:00 +01:00
epic-64
ba5d7a6d1c cleanup 2025-11-08 00:00:00 +01:00
epic-64
d10e738cc1 cleanup 2025-11-08 00:00:00 +01:00
epic-64
17c65980a8 cleanup 2025-11-08 00:00:00 +01:00
epic-64
3c52f004d2 cleanup 2025-11-08 00:00:00 +01:00
epic-64
8cb9adf833 cleanup 2025-11-08 00:00:00 +01:00
epic-64
6c7f3e0729 cleanup 2025-11-08 00:00:00 +01:00
epic-64
e2fd52d6b3 init 2025-11-08 00:00:00 +01:00