Skip to content

Rebuild as actual rock-paper-scissors (cachipún), not tic-tac-toe - #4

Merged
FabianIMV merged 1 commit into
mainfrom
claude/rock-paper-scissors-rebuild-o6zu5n
Jul 11, 2026
Merged

Rebuild as actual rock-paper-scissors (cachipún), not tic-tac-toe#4
FabianIMV merged 1 commit into
mainfrom
claude/rock-paper-scissors-rebuild-o6zu5n

Conversation

@FabianIMV

Copy link
Copy Markdown
Owner

The repo was accidentally built as tic-tac-toe under the cachipún name.
This rewrites the game from scratch as real piedra-papel-tijera in 3D:

  • Two articulated neon hands (you cyan, CPU magenta) with per-finger
    joints posed per gesture, facing off over the refractive glass stage
  • Classic "¡ca… chi… pún!" three-bob countdown, springy reveal, win/
    lose/tie flourishes, confetti and camera pulse for the winner
  • New CPU brain: order-1 Markov predictor of the player's move history
    on hard mode ("CPU astuta"), pure random on easy ("CPU al lote")
  • New UI: ✊✋✌️ choice buttons (keys 1/2/3), scoreboard moved under the
    topbar to keep the stage clear, win-streak counter, WebAudio sfx
  • Scores/settings/history persisted in localStorage (new storage key)
  • README rewritten for the real game; deploy workflow branch updated

Kept: vendored Three.js, tween engine, glass/bloom/PMREM visual stack.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_0135timkxZn4iRgeQjiXtyE7

The repo was accidentally built as tic-tac-toe under the cachipún name.
This rewrites the game from scratch as real piedra-papel-tijera in 3D:

- Two articulated neon hands (you cyan, CPU magenta) with per-finger
  joints posed per gesture, facing off over the refractive glass stage
- Classic "¡ca… chi… pún!" three-bob countdown, springy reveal, win/
  lose/tie flourishes, confetti and camera pulse for the winner
- New CPU brain: order-1 Markov predictor of the player's move history
  on hard mode ("CPU astuta"), pure random on easy ("CPU al lote")
- New UI: ✊✋✌️ choice buttons (keys 1/2/3), scoreboard moved under the
  topbar to keep the stage clear, win-streak counter, WebAudio sfx
- Scores/settings/history persisted in localStorage (new storage key)
- README rewritten for the real game; deploy workflow branch updated

Kept: vendored Three.js, tween engine, glass/bloom/PMREM visual stack.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0135timkxZn4iRgeQjiXtyE7
@FabianIMV
FabianIMV merged commit 068da54 into main Jul 11, 2026
1 of 2 checks passed
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.

2 participants