Skip to content

Ux menú principal#31

Open
clintjeff2 wants to merge 2 commits into
Bitcoindefi:mainfrom
clintjeff2:UX-menú-principal

Hidden character warning

The head ref may contain hidden characters: "UX-men\u00fa-principal"
Open

Ux menú principal#31
clintjeff2 wants to merge 2 commits into
Bitcoindefi:mainfrom
clintjeff2:UX-menú-principal

Conversation

@clintjeff2

Copy link
Copy Markdown

This PR implements a complete user experience flow for the "Human vs Bots" game, transitioning it from a direct-to-game entry to a structured environment.

Key Features:

  1. Main Menu: A centralized hub for starting games, tutorials, and configuration.
  2. Interactive Onboarding: A tutorial system that guides players through movement, combat, and production.
  3. Game End Summary: A clear game loop closure providing performance metrics and ZK proof export functionality.
  4. Contextual Tooltips: Real-time information display on hover for better game state visibility.
  5. Visual Overhaul: Civilization-inspired 4X aesthetic with consistent styling across all views.

Implementation Details:

  • View Management: Uses a CSS-based visibility system toggled by showView(viewId).
  • System Modularity: Added TutorialSystem and TooltipSystem classes to handle specific UX logic without cluttering the main game loop.
  • Responsiveness: Improved drawer positioning and z-index layering for better interaction on different screen sizes.

Verified with Playwright screenshots covering all new screens and interactions.


Closes #26

google-labs-jules Bot and others added 2 commits June 26, 2026 11:32
- Added Main Menu with Play, Tutorial, Settings, and Wallet options.
- Implemented Game End Screen with match summary (turns, score, victory type) and ZK proof export.
- Added interactive TutorialSystem for onboarding new players.
- Implemented TooltipSystem for contextual unit/tile information.
- Updated UI/UX with a cohesive 4X aesthetic.
- Refactored navigation to use a multi-view system.

Co-authored-by: clintjeff2 <119521983+clintjeff2@users.noreply.github.com>
…n-6377691872894843204

UX: Main Menu, Game End Screen, and Tutorial Onboarding
@clintjeff2

Copy link
Copy Markdown
Author

@leocagli , kindly review and merge.

@sonarqubecloud

Copy link
Copy Markdown

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.

UX: menú principal, pantalla de fin de partida y tutorial

1 participant