Skip to content

solana-developers/solana-game-examples

Repository files navigation

A collection of example games

This is a collection of example games built on Solana. The games are built using the Anchor framework. The games are meant to be used as a starting point for building your own games on Solana.

The easiest way to create a Solana game is to use the command:

npx create-solana-game <name>

It will create you a preset anchor program with a js and a unity client.

Games

  • Lumberjack - A simple lumberjack game where you chop trees to earn wood. (This is what the solana game npx command is based on. Better us the npx command)
  • Idle-game - An idle game using clockwork.
  • Seven Seas - A realtime on chain sea battle game with unity client.
  • Solana Chess - 3D Chess game built with Unity.
  • Tiny Adventure - A simple adventure game moving a character left and right on chain.
  • Battle coins - On example game showing how to interact with SPL tokens in an anchor program.
  • Coin flip - Verifiable randomness using VRF by switchboard.xyz.
  • City Builder - A competitive coorporative on chain city builder written using anchor with a Unity client.
  • Solana 2048 - On chain 2048 game with weekly resetting highscore rewards and NFTs to save state.

Contributing

If you have a game you would like to add to this collection, please open a PR.

License

MIT