Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

🌸 Flower Garden Game

Description

An interactive flower planting game where players race against time to plant as many flowers as possible while avoiding mushrooms. Built with vanilla JavaScript and HTML5 Canvas.

Features

  • ⏱️ 60-second countdown timer
  • ❤️ Lives system (3 hearts)
  • 🍄 Randomly spawning mushrooms as obstacles
  • 🌼 Multiple colorful flower varieties
  • 🎮 Real-time score tracking
  • 🔄 Restart functionality
  • 📱 Responsive design

How to Play

  • Click anywhere on the canvas to plant a flower (+1 point)
  • Avoid clicking on mushrooms (-1 life)
  • Try to get the highest score within 60 seconds!

Technologies

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • Canvas API

Screenshots

Gameplay


Note: This is a JavaScript adaptation of my original Python game, showcasing canvas manipulation, event handling, and game logic implementation.