p5.js is a great library for drawings, animation and other fun programs.
Some users use it even for making small games on canvas. Although p5.js wasn’t designed for games, it is a great tool for prototyping simple games or even rebuild classic games.
If you have this hobby, then consider this library for you next game: p5.js Scene Manager
It is a great mini library that allows you to organize the code and implement multiple scenes in your game. Eg. Intro Scene, Game Scene, High Score scene
Did you use this library until now?