This is the first game I created as my first evaluation during my Fullstack Js training at Ifocop Paris. We had to create a javascript game using no libraries. At first, I wanted to recreate the original "Lemmings" game (big fan of the game), but due to a lack of time I changed the rules, kept some of the design and animations to create "Save the Lemmings" 👾 👾.
Save the Lemmings is a basic game where Lemmings appear in the sky falling down Your main goal is to catch them using the left ⬅️ and right ➡️ arrows of the keyboard.
Demo : save-the-lemmings
- Factory function
- Sprite animation
- Element collision
- keyboard events handeling
use requestAnimationFrame function