dipanshuhappy / solana-game-examples

Home Page:https://solumberjack.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://solumberjack.vercel.app


Languages

Language:C# 66.6%Language:ShaderLab 12.1%Language:Objective-C 8.5%Language:TypeScript 6.6%Language:Rust 3.3%Language:HLSL 1.1%Language:CSS 0.7%Language:HTML 0.7%Language:JavaScript 0.2%Language:C 0.1%Language:Shell 0.1%Language:Dockerfile 0.0%