Commit Graph
61 Commits
Author SHA1 Message Date
tiennm99 50c650a698 docs: add morphological analysis and finalize tech stack decisions 2026-04-12 19:45:48 +07:00
tiennm99 58e7c4a774 docs: add first principles and mind mapping results to brainstorming session 2026-04-12 19:27:40 +07:00
tiennm99 186f8be23a docs: add 2048 game brainstorming session with first principles research 2026-04-12 19:26:15 +07:00
tiennm99 176050b396 ci: add GitHub Actions workflow to deploy to GitHub Pages
Add deploy.yml workflow that runs tests, builds, and deploys to
GitHub Pages on push to main. Add vite.config.js with base path
for subdirectory hosting. Include deployment spec.
2026-04-12 19:07:02 +07:00
tiennm99 a5aebecf39 fix: floor misaligned with container walls causing fall-through
The floor was centered on CANVAS_WIDTH/2 but the container is no longer
centered in the canvas (NEXT panel on right). This created a 26px gap
at the bottom-left corner. Center floor on CONTAINER_X + CONTAINER_WIDTH/2
to match the walls. Also display fruit tier numbers instead of names.
2026-04-12 18:24:19 +07:00
tiennm99 932eec04b6 chore: add BMad Builder module and Claude skills configuration 2026-04-12 18:18:07 +07:00
tiennm99 e5df17f224 fix: NEXT panel clipping, add labels to previews, improve fruit colors
Derive canvas width from container + panel dimensions so the NEXT panel
fits with consistent padding. Extract drawFruitCircle helper so all
fruit rendering (in-game, cursor preview, NEXT panel) shows the name
label consistently. Update color palette for maximum visual distinction
between similar fruits (cherry/strawberry/apple, dekopon/persimmon).
Center score text over the container instead of the canvas.
2026-04-12 11:32:15 +07:00
tiennm99 d0410e26af fix: physics tunneling and update fruit stats to community standard
Fix fruits falling through the floor by replacing single-step physics
with fixed-timestep sub-stepping (16.67ms steps, max 5 per frame).
Add escaped-body cleanup as safety net. Tune physics constants for
better feel (higher density, more bounce, less float).

Update fruit radii to match the community-standard ratios (TomboFry/
moonfloof clones) scaled to our 400px container. Update colors to
match real fruit appearances. Fix "Grapes" → "Grape" per wiki.
2026-04-12 11:19:04 +07:00
tiennm99andGitHub b1d248c7cd Initial commit 2026-04-12 11:15:15 +07:00
tiennm99 637b99acda docs: split README into separate docs
Move tech stack, getting started, and gameplay sections into docs/
folder. Slim README down to a landing page with links.
2026-04-12 10:57:20 +07:00
tiennm99 a130f1c118 docs: add CLAUDE.md, update README, add collision fix spec
Add CLAUDE.md with architecture overview and dev commands for future
Claude Code sessions. Update README with tech stack, project structure,
and how-to-play instructions. Add spec for fixing collision physics
tuning issues.
2026-04-12 10:48:50 +07:00
tiennm99 f1f92fbd35 feat: implement Suika Game (Watermelon Game)
Browser-based physics puzzle game where players drop fruits that merge
into larger fruits on collision, using Matter.js for 2D physics and
Canvas2D for rendering. Includes 11-fruit progression chain, scoring,
game-over detection, mouse/touch input, and Vitest test suite.
2026-04-12 10:26:38 +07:00
tiennm99 e5f8543542 feat: add ClaudeKit configuration
Add agent definitions, slash commands, hooks, and settings for
Claude Code project tooling.
2026-04-12 10:02:12 +07:00
tiennm99andGitHub f3bebc3d10 Initial commit 2026-04-12 09:54:48 +07:00
tiennm99andClaude Opus 4.6 8212244302 feat: add solve() console command for auto-solving
Call solve() in browser console to auto-solve one move per second.
Call solve() again to stop. Stops automatically on game over.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 22:07:31 +07:00
tiennm99andClaude Opus 4.6 9de47575d8 fix: toggle pause button text and color based on game state
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 22:01:01 +07:00
tiennm99andClaude Opus 4.6 ec58fcb301 fix: use Phaser shutdown event for listener cleanup
Phaser's game.destroy() calls shutdown() on scenes, not destroy().
The old destroy() override was never called, causing stale event
listeners to persist and throw errors in React StrictMode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 22:00:15 +07:00
tiennm99andClaude Opus 4.6 de2cf9ad35 chore: add Claude Code settings with superpowers plugin
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:52:20 +07:00
tiennm99andClaude Opus 4.6 a59cee869c ci: add GitHub Actions workflow to build and deploy to GitHub Pages
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:51:52 +07:00
tiennm99andClaude Opus 4.6 bed7ebfbc5 chore: update .gitignore with standard Node.js/Vite entries
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:43:36 +07:00
tiennm99andClaude Sonnet 4.6 35a886edf2 fix: address code review issues (listener leak, pause, shuffle, board validation)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 21:33:04 +07:00
tiennm99andClaude Sonnet 4.6 b74d9578eb feat: add GameOver screen with play again and menu options
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 21:21:10 +07:00
tiennm99andClaude Sonnet 4.6 6b5c5efb93 feat: add HUD with timer, score, hint, shuffle, pause, and toast
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 21:15:44 +07:00
tiennm99andClaude Opus 4.6 49fd12373c feat: implement GameScene with tile rendering, matching, and animations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:14:26 +07:00
tiennm99 44cf9694e6 feat: add GameContainer Phaser-React bridge 2026-04-07 21:10:15 +07:00
tiennm99andClaude Sonnet 4.6 3289e70b5a feat: add Menu, DifficultySelect screens and App routing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 21:08:43 +07:00
tiennm99 c2acad828c feat: add Phaser config factory, PreloadScene, and GameScene stub 2026-04-07 21:04:25 +07:00
tiennm99andClaude Sonnet 4.6 35b5325125 feat: add shared game state manager with EventEmitter
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 21:01:22 +07:00
tiennm99andClaude Sonnet 4.6 be033f93c4 feat: add score calculation with speed bonus and combo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 20:59:46 +07:00
tiennm99andClaude Opus 4.6 4c29f3838c feat: add pathfinder with ≤2 bend connection validation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 20:58:14 +07:00
tiennm99andClaude Sonnet 4.6 05a4b61172 feat: add board generation, remaining tiles, and shuffle
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 20:53:10 +07:00
tiennm99 261a4d864e feat: add emoji pool and difficulty-based selection 2026-04-07 20:51:36 +07:00
tiennm99 aa3114f71f feat: add shared types and difficulty constants 2026-04-07 20:50:16 +07:00
tiennm99andClaude Sonnet 4.6 99a5e9b0f7 fix: add vite-env.d.ts, remove broken lint script, clean config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 20:49:04 +07:00
tiennm99andClaude Sonnet 4.6 65b1e59135 feat: scaffold Vite + React + TS project with Phaser and Vitest
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 20:30:07 +07:00
tiennm99 bac3af2df6 chore: add .worktrees to .gitignore 2026-04-07 19:31:25 +07:00
tiennm99andClaude Opus 4.6 d18bcdd2dc Add implementation plan for Pikachu Onet Connect
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 19:27:56 +07:00
tiennm99andClaude Opus 4.6 96aefe97bf Add design spec for Pikachu Onet Connect game
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 19:21:34 +07:00
tiennm99andGitHub 5b6f88e27b Initial commit 2026-04-05 11:46:02 +07:00
tiennm99andClaude Sonnet 4.6 a97c523f0e feat(hooks): add stop hook demo and examples documentation
- Add hook_demo.js demonstrating the COMPLETE comment pattern
- Add stop-hooks-examples.md with real-world hook patterns for
  TypeScript, linting, tests, builds, and chaining multiple checks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 20:54:51 +07:00
tiennm99andClaude Sonnet 4.6 4491fdbd93 docs(aliases): restructure to use dedicated alias.ps1 file
Move all PowerShell functions to ~/Documents/PowerShell/alias.ps1
and source it from $PROFILE, keeping the profile clean and aliases
easy to manage independently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 20:46:40 +07:00
tiennm99andClaude Sonnet 4.6 d030c37a15 docs(aliases): add zclaude PowerShell function for Z.ai API
Replace bash aliases with Windows PowerShell functions, adding
zclaude as the primary command for launching Claude via Z.ai
with GLM-5 model and custom API endpoint configuration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 20:42:43 +07:00
tiennm99andClaude Sonnet 4.6 61853b30f7 feat(workspace): add Claude Code workflow lesson files and configuration
- Add .ai/diagrams/ with Mermaid architecture diagram examples
- Add .claude/ with settings and stop hook configuration
- Add CLAUDE.md with advanced workflow lesson content
- Add my-aliases.md with custom shell alias documentation
- Add thumbnail.html for lesson preview

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 20:25:42 +07:00
Tien Nguyen MinhandGitHub 40d464adde Initial commit 2026-03-08 20:22:14 +07:00
tiennm99andClaude Sonnet 4.6 d5be8b854d feat(quiz): scaffold Next.js app and build coffee personality quiz
- Bootstrap Next.js 15 project with TypeScript, Tailwind, and App Router
- Build full quiz with 5 pop culture questions mapping to 3 personalities
- Implement percentage-based results display with ranked breakdown
- Apply warm/cozy earthy palette inspired by Claude homepage aesthetic
- Components: QuizQuestion, QuizResults with hover states and progress bar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 11:01:05 +07:00
tiennm99andClaude Sonnet 4.6 1854878ff1 chore(quiz): add .gitignore and untrack node_modules and .next
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 10:57:24 +07:00
tiennm99andClaude Sonnet 4.6 14f143d05a feat(quiz): add requirements and style previews for coffee personality quiz
- Define 3 personality-to-coffee pairings (Zen Minimalist, Night Owl, Social Butterfly)
- Add percentage-based result display spec
- Add 5 pop culture quiz questions with personality mappings
- Generate 4 distinct style preview HTML files for visual direction
- Document warm/cozy + Claude homepage aesthetic as chosen style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 09:58:33 +07:00
tiennm99 a0ef113d23 docs: add CLAUDE.md project memory for Basecamp Coffee context 2026-03-06 11:17:01 +07:00
tiennm99 bf20d07bad feat(agents): add three new sub-agents for diverse perspectives 2026-03-06 11:02:00 +07:00
tiennm99 9639649489 feat(reviews): add synthesis feedback from three sub-agent perspectives 2026-03-06 11:01:26 +07:00