Skip to content

Conversation

ktungl
Copy link

@ktungl ktungl commented Oct 11, 2025

🌸 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

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

Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for 30daysofjs ready!

Name Link
🔨 Latest commit 5d85c7f
🔍 Latest deploy log https://app.netlify.com/projects/30daysofjs/deploys/68ea30111b216300080e9537
😎 Deploy Preview https://deploy-preview-1940--30daysofjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant