Skip to content

naykel76/canvas-and-animation-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite starter project with Type Script an vanilla Javascript

Run development server:

npm run dev

Build project:

npm run build

Preview build project:

npm run preview

The List

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published