Skip to content

smart-developer1791/go-heart-catcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’• Heart Catcher ~ Kokoro Kyaccha

Go Version Fiber Canvas Tailwind CSS Alpine.js Render

๐ŸŒธ Japanese-themed arcade game where you catch falling hearts while avoiding bombs. Features power-ups, combos, endless mode, and beautiful sakura aesthetics. Perfect for Valentine's Day 2026!

โœจ Features

Gameplay

  • Catch Hearts โ€” Move basket to catch falling hearts
  • Avoid Bombs โ€” Bombs take away lives!
  • Combo System โ€” Chain catches for bonus points
  • Progressive Difficulty โ€” Gets harder as you level up
  • Endless Mode โ€” Play until you run out of lives
  • High Score โ€” Saved locally

Heart Types

Type Points Description
๐Ÿ’— Pink 10 Regular heart
๐Ÿ’› Golden 50 Rare golden heart
๐ŸŒˆ Rainbow 100 Ultra rare rainbow heart

Power-Ups

Power-Up Effect Duration
๐Ÿ›ก๏ธ Shield Blocks one bomb Until used
๐Ÿงฒ Magnet Attracts nearby hearts 8 seconds
โœจ Double 2x score 8 seconds
โฑ๏ธ Slow-Mo Slows falling items 8 seconds

Japanese Aesthetic

  • Sakura Theme โ€” Pink color palette
  • Kanji Decorations โ€” Floating ๆ„›, ๅฟƒ, ๆ‹, ๆกœ
  • Hiragana/Katakana โ€” ใƒใƒผใƒˆใ‚ญใƒฃใƒƒใƒใƒฃใƒผ
  • Traditional Basket โ€” Japanese-style container
  • Seigaiha Pattern โ€” Wave background pattern

๐ŸŽฎ Controls

Platform Control
Desktop Move mouse
Mobile Touch and drag
Pause Space / Escape

๐Ÿš€ Quick Start

Clone and run:

git clone https://github.com/smart-developer1791/go-heart-catcher
cd go-heart-catcher

Initialize and start:

go mod tidy
go run .

Open http://localhost:3000 ๐Ÿ’•

๐Ÿ›  Tech Stack

Layer Technology
Backend Go 1.21+, Fiber v2
Rendering HTML5 Canvas 2D
UI Alpine.js 3.x, Tailwind CSS
Fonts Zen Maru Gothic, Noto Sans JP
Storage localStorage (high score)

๐Ÿ“ Project Structure

go-heart-catcher/
โ”œโ”€โ”€ main.go              # Simple Fiber server
โ”œโ”€โ”€ go.mod               # Dependencies
โ”œโ”€โ”€ render.yaml          # Deploy config
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ templates/
    โ””โ”€โ”€ index.html       # Complete game

๐ŸŽฏ Scoring System

Base Points:
- Pink Heart: 10 pts
- Golden Heart: 50 pts
- Rainbow Heart: 100 pts

Combo Multiplier:
- Combo 2: 1.1x
- Combo 3: 1.2x
- Combo 5: 1.4x
- Combo 10: 1.9x

Double Power-Up: 2x all points

๐Ÿ“ˆ Difficulty Progression

Level Score Required Spawn Rate Fall Speed
1 0 1.5s Slow
2 500 1.4s Medium
5 2000 1.1s Fast
10+ 4500+ 0.5s Very Fast

๐ŸŽจ Color Palette

Color Hex Usage
Sakura 400 #f48ca2 Primary pink
Sakura 300 #f8b4c2 Light accents
Gold #ffd700 Golden hearts
Rainbow Gradient Special hearts

๐ŸŒธ Japanese Elements

Decorative Kanji

  • ๆ„› (ai) โ€” Love
  • ๅฟƒ (kokoro) โ€” Heart
  • ๆ‹ (koi) โ€” Romance
  • ๆกœ (sakura) โ€” Cherry blossom

UI Text

  • ใƒใƒผใƒˆใ‚ญใƒฃใƒƒใƒใƒฃใƒผ โ€” Heart Catcher
  • ใ‚นใ‚ฟใƒผใƒˆ โ€” Start
  • ใ‚ฒใƒผใƒ ใ‚ชใƒผใƒใƒผ โ€” Game Over
  • ไธ€ๆ™‚ๅœๆญข โ€” Paused

๐Ÿ’• Valentine's Day 2026

A fun arcade game to celebrate love! Catch all the hearts and set a new high score.

"ๆ„›ใ‚’ๆ•ใพใˆใ‚ˆใ†!" โ€” Let's catch love!


Deploy in 10 seconds

Deploy to Render

About

๐ŸŒธ Japanese arcade game catching falling hearts with power-ups, combos & bombs. Canvas 2D rendering. Go Fiber + Alpine.js + Tailwind. Valentine 2026! ๐Ÿ’•

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors