Skip to content

0xshae/maze-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze Runner

Description

Maze Runner is a full on-chain maze game built on Solana blockchain. Players navigate through procedurally generated mazes, collecting coins and emeralds while avoiding fire hazards.

Features

  • On-chain maze generation and game state
  • Player authentication with wallet connection
  • NFT integration for player avatars
  • Procedurally generated mazes for each level
  • Collectible items (coins and emeralds)
  • Dynamic fire hazards that chase players
  • Scoring system with leaderboard
  • Unity client for interactive gameplay
  • Web client for easy access
  • Clockwork integration for autonomous game elements

Architecture

The game consists of three main components:

  1. Anchor Program: Solana smart contract that handles game logic and state
  2. Unity Client: 3D game client for player interaction
  3. Web Client: Alternative interface for the game

Game Mechanics

  • Player Movement: Move in four directions (up, down, left, right)
  • Collectibles: Coins (100 pts) and Emeralds (1000 pts)
  • Hazards: Fire tiles that spawn and move toward players
  • Lives: 3 lives per round, reset on level completion
  • Levels: Progressive difficulty with different maze layouts
  • Scoring: Points for collectibles, level completion, and remaining lives

Development Roadmap

  1. Authentication & Player Setup
  2. Maze & Level Initialization
  3. Player Movement
  4. Fire Mechanics
  5. Scoring System
  6. Level Progression
  7. Game History and Leaderboard
  8. Unity Client Integration

Getting Started

Instructions for setting up development environment and running the game will be provided soon.

About

a fully on-chain maze solving game built on the solana blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published