Claude/vertical slice puzzle 5 vj2 p#15
Merged
Merged
Conversation
Add complete game loop with: - egui-based main menu with Play button and controls info - Game HUD with piece palette (AND/OR gates) and legend - Grid-based puzzle board with colored pieces - Player can place logic gates and verify solutions - Z3 SMT solver integration for proof verification - Level completion screen showing verification success Puzzle: Connect assumptions P and Q through an AND gate to prove R. The solution is verified mathematically using Z3's SAT solver. Controls: - Space: Verify solution - Left click: Select piece - Right click: Place selected gate type - ESC: Return to menu
Changes: - Add feature flags for optional dependencies (z3-verify, steam, network) - Create lib.rs for library builds without GUI dependencies - Implement mock verification when Z3 is unavailable - Update Bevy APIs for 0.17 compatibility: - Use single()/single_mut() instead of get_single() - Use Sprite + Transform instead of SpriteBundle - Handle EguiContexts.ctx_mut() Result type - Use EguiPlugin::default() constructor - Separate game systems from core types for cleaner lib/bin split - Remove wayland feature to reduce system dependencies The game now builds without libwayland-dev or libz3-dev. Mock verification uses connectivity checks when Z3 is unavailable.
New features: - Level pack system for organizing puzzles - Built-in tutorial pack with 4 progressive levels - Level pack browser with completion tracking - Level editor for creating custom puzzles - Save/load user-created packs to JSON UI changes: - Main menu: Play → Level Select, Quick Play, Level Editor - Level select: Browse packs, see completion progress, double-click to play - Editor: Place assumptions/goals, set metadata, validate and save Technical: - New modules: levels, editor, states - Bevy 0.17 Message API for editor events - GameState moved to shared states module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.