Skip to content

Adrijan-Petek/my-farcaster-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

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

Repository files navigation

๐Ÿฑ Farcaster Clicker Game

Farcaster License

A Farcaster Mini App game where you tap the cat ๐Ÿฑ to earn points!
Built with @farcaster/miniapp-sdk.


๐Ÿš€ Features

  • Fun clicker game (earn points by tapping)
  • React + Vite + Farcaster SDK
  • Works inside Farcaster Mini Apps
  • Shareable embed card (fc:miniapp)

๐Ÿ› ๏ธ Setup

git clone https://github.com/yourusername/my-farcaster-game
cd my-farcaster-game
npm install
npm run dev

Then open ๐Ÿ‘‰ http://localhost:5173


๐ŸŒ Deployment

Deploy with:

Place manifest here:

https://yourdomain.com/.well-known/farcaster.json

๐Ÿ”— Embed in Farcaster

Add this meta tag in your index.html:

<meta
  name="fc:miniapp"
  content='{
    "version": "1",
    "imageUrl": "https://yourdomain.com/og-image.png",
    "button": {
      "title": "Play Cat Game",
      "action": {
        "type": "launch_frame",
        "name": "Farcaster Cat Game",
        "url": "https://yourdomain.com/",
        "splashImageUrl": "https://yourdomain.com/icon.png",
        "splashBackgroundColor": "#ffffff"
      }
    }
  }'
/>

Preview ๐Ÿ‘‰ Farcaster Mini App Preview Tool


๐Ÿ“ธ Screenshots

๐Ÿ  Game View

Home

๐Ÿ“ฑ Embed Card

Embed


๐Ÿงฉ Next Steps

  • Save scores to localStorage or a backend
  • Add Farcaster sign-in (sdk.actions.signIn())
  • Make it multiplayer ๐ŸŽฎ

About

Farcaster Clicker Game repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published