Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to play past puzzles #10

Merged
merged 4 commits into from
Apr 18, 2024
Merged

Commits on Apr 11, 2024

  1. Store data for multiple puzzles in an array

    The `State::Puzzle` struct allows storing a puzzle's data separately from the main game state data.
    
    Data for multiple puzzles can now be stored in an array. Data for multiple puzzles can be loaded/saved to `localStorage` by the JS layer.
    
    Additionally, if a daily pool word list is missing, the chosen word is now truly random - `srand` is provided the current timestamp.
    Vankata453 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    13c361e View commit details
    Browse the repository at this point in the history
  2. Ability to play past puzzles

    Logic and a GUI have been added to allow selecting past puzzles, based on ID.
    
    Past puzzles are not counted towards statistics. Their intended use is to give the player a way to practice, or compete with others, despite having missed the day of the puzzle.
    
    Additionally:
    
    * Game input is no longer detected, when a popup window is active.
    * Mutual properties and `visible(float T)` function between popup windows are now inherited from a base struct.
    Vankata453 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    05827f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Fix 2-space tabulation

    Vankata453 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    1fbda15 View commit details
    Browse the repository at this point in the history
  2. Remove workaround code for puzzle 643

    The word was confirmed to have been fixed in the private daily pool.
    Vankata453 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b7da02c View commit details
    Browse the repository at this point in the history