Skip to content

feat: Implement game mechanics - #4

Merged
Antiz96 merged 1 commit into
mainfrom
actual_game
Nov 8, 2026
Merged

Antiz96 merged 1 commit into
mainfrom
actual_game

Conversation

@Antiz96

@Antiz96 Antiz96 commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Description

  • Game mechanics:

    • Handle game_state updates
    • Add compilation loop
    • Handle credits reward on successful compilation
    • Handle chances of compilation failures
    • Add CI/CD system perk handling
    • Add global parameters definition
    • Add global economy definition
    • Add upgrade menu
    • Add manage menu
    • Add Auto-Scaling perk handling
  • QOL features:

    • Add usual keyboard shortcuts handling for the game prompt via the
      rustyline crate (arrow keys to navigate through commands history, Ctrl+D
      to quit / disconnect, etc...)
    • Add Ctrl+C interruption handler to interrupt compilations and quite submenus
      via the ctrlc crate
    • Show compilation parameters during status and compile
    • Add auto-completion support in the game prompts
    • Use separate prompt and command history for upgrade and manage menus
    • Add prompt coloring
  • Miscellaneous:

    • Rename menu module to prompt
    • Split compilation mechanic into its own module
    • Improve error handling
    • Always round credits to 2 decimals
    • Various refactoring

Screenshot

image

@Antiz96
Antiz96 marked this pull request as draft November 5, 2026 21:46
@Antiz96
Antiz96 force-pushed the actual_game branch 24 times, most recently from 973b97b to 6c452ce Compare November 8, 2026 12:10
@Antiz96 Antiz96 added this to the v1.0.0 milestone Nov 8, 2026
@Antiz96
Antiz96 force-pushed the actual_game branch 4 times, most recently from 4327128 to d3e9e2c Compare November 8, 2026 14:47
@Antiz96
Antiz96 force-pushed the actual_game branch 3 times, most recently from 51e6890 to 8b66345 Compare November 8, 2026 17:20
@Antiz96
Antiz96 marked this pull request as ready for review November 8, 2026 17:21
- Game mechanics:
  - Handle game_state updates
  - Add compilation loop
  - Handle credits reward on successful compilation
  - Handle chances of compilation failures
  - Add CI/CD system perk handling
  - Add global parameters definition
  - Add global economy definition
  - Add upgrade menu
  - Add manage menu
  - Add Auto-Scaling perk handling

- QOL features:
   - Add usual keyboard shortcuts handling for the game prompt via the
     `rustyline` crate (arrow keys to navigate through commands history, Ctrl+D
     to quit / disconnect, etc...)
   - Add Ctrl+C interruption handler to interrupt compilations and quite submenus
     via the `ctrlc` crate
   - Show compilation parameters during status and compile
   - Add auto-completion support in the game prompts
   - Use separate prompt and command history for upgrade and manage menus
   - Add prompt coloring

- Miscellaneous:
   - Rename `menu` module to `prompt`
   - Split compilation mechanic into its own module
   - Improve error handling
   - Always round credits to 2 decimals
   - Various refactoring
@Antiz96
Antiz96 merged commit f070f0c into main Nov 8, 2026
1 check passed
@Antiz96
Antiz96 deleted the actual_game branch November 8, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant