MindGrid is a compact puzzle game built with React, TypeScript, and Vite. Each level is a logic board where movement is limited, gravity can be rewritten, and one bad sequence can lock the puzzle.
- 15 handcrafted puzzle levels
- Gravity-flip mechanics powered by rule points
- Interactive board elements like doors, switches, traps, teleporters, and one-way tiles
- Keyboard controls (
WASD/ arrow keys) plus swipe support on touch devices - First-run "How To Play" tutorial modal
- Progressive level unlocking with instant in-game feedback
- Read the board and locate the goal.
- Move carefully within the level's move limit.
- Spend rule points to flip gravity when the route requires it.
- Avoid traps and dead ends.
- Clear the puzzle to unlock the next level.
- React 19
- TypeScript
- Vite
- Zustand-style external store pattern for game state
npm install
npm run devOpen the local Vite URL in your browser to play.
npm run dev
npm run build
npm run preview
npm run lintsrc/
components/ UI building blocks
game/ level data and rule logic
store/ central game state
types/ shared TypeScript models
public/ static assets
MindGrid is currently set up as a polished single-page puzzle experience with progression, responsive controls, and a custom game-state system.


