Run development server:
npm run dev
Build project:
npm run build
Preview build project:
npm run preview
- Setup and game configuration
- Create classes for Board, and Piece
- Interfaces
- Config
- Keys
- Position
- Move piece with keyboard
- Boundary detection
- Collision detection
- Animate a moving piece
-
setInterval
-
requestAnimationFrame
- Respect boundaries
- Collision detection
- Bounce
-
- Add items on board and detect collision
- Configuration
- Input to set board size
- Slider to set board size
- Sound
- Keystroke effects
- Music
- Create a dismissible modal
- Persistent storage for settings