Skip to content

v1.14.0 - TUI N-gram Practice Mode Support

Choose a tag to compare

@timlinux timlinux released this 19 Apr 01:53
· 29 commits to main since this release

What's New

TUI N-gram Practice Mode Fix 馃幆

The TUI (terminal user interface) now properly supports n-gram practice mode! Previously, changing the practice mode in settings had no effect - the TUI always used word mode.

Changes

  • Added SetPracticeMode to GameAPI interface - Allows changing practice mode at runtime
  • TUI loads saved settings on startup - Your practice mode preference is now remembered
  • Settings changes take effect immediately - Switching between Words and N-grams mode works correctly

Technical Details

The fix adds a SetPracticeMode(mode settings.PracticeMode) method to the GameAPI interface, allowing the frontend to update the engine's practice mode. The TUI now:

  • Applies saved practice mode settings when starting
  • Updates the engine when you change practice mode in the settings menu
  • Uses the correct mode (words or n-grams) for the next round

Previous Fixes in This Release Cycle

  • Fixed n-gram practice mode for web frontend
  • Fixed code block CSS in Hugo documentation (white text on dark background)
  • Fixed broken footer links in documentation
  • Fixed Hugo theme deployment in Nix builds

Made with 馃挆 by Kartoza | Donate! | GitHub