PaimaStudios / paima-game-templates

Paima Engine Game Templates for developers.
https://paimastudios.com
MIT License
11 stars 8 forks source link

Add Farcaster Frame template #73

Closed SpaceManiac closed 4 months ago

SpaceManiac commented 5 months ago

A Farcaster frame made for Arbitrum's Frame It buildathon, using Arbitrum One and Paima Engine. Made available here as a Paima game template.

Farcaster offers explicit transactions on whitelisted networks only, not arbitrary wallet signing, so the game uses its own secondary EVM contract that Paima Engine imports as a Primitive. The game is played as so:

  1. Find a posted canvas somewhere on Farcaster that isn't full yet.
  2. Choose your own color to paint. You can do this as many times as you like.
  3. After contributing a color, you may fork a canvas and post it to your own timeline.
    • After forking a canvas, new paints to your fork will reward you, which you can withdraw by visiting your own post again.
  4. If your canvas gets full, find another one to contribute to and then fork!