Skip to content

Proof of Duel is a rhythm-based cowboy showdown where players battle using precision key combos in real-time duels. The stats is going to records on Solana blockchain.

License

Notifications You must be signed in to change notification settings

Rayato159/proof-of-duel

Repository files navigation

Proof of Duel 🔫

Proof of Duel Logo

Author: Ruangyot Nanchiang
Demo: YouTube
Play (No Solana Integration, Password: proof_456): Itch.io

📑 Overview

Demo

Proof of Duel is a multiplayer PvP rhythm-combo shooting game where players must press keys shown on-screen to deal damage to opponents. Win/loss stats are recorded on the Solana blockchain.

⛷️Theme & Story

Inspired by Patapon, reimagined as a real-time cowboy duel. Two gunslingers face off speed and precision determine the winner.

🎲 Genre

Competitive rhythm-combo shooting, similar to Patapon and Osu!.

🎯 Core Gameplay Loop

CoreGameLoop

  1. Login & connect wallet (Civic Auth + Solana).
  2. Create or join a match via Match ID.
  3. Countdown 3-2-1 → Duel begins.
  4. Press correct key combos to deal damage (5 HP per player).
  5. Match ends when one player’s HP reaches zero.

🧩 Features

  • Solana wallet login & KYC
  • Matchmaking via Match ID
  • Real-time rhythm-combo combat
  • Win/loss stats recorded on-chain
  • Planned NFT & coin drops, marketplace, and elemental system

🛣️ Roadmap

Phase 1: Matchmaking + on-chain stats
Phase 2: Random matchmaking, ranking dashboard
Phase 3: NFT/Coin drops, marketplace
Phase N: Elemental system for bullets & armor

🔨 Tech Stack

  • Game Engine: Bevy
  • Solana Program: Solana Anchor
  • Authentication: Civic Auth
  • Frontend: NextJS
  • Music: FL Studio
  • Pixel Art: Aseprite

💀 How to Play (Build From Source)

Before running the game, ensure you have the following installed:

  1. Clone the repository:

    git clone https://github.com/Rayato159/proof-of-duel.git
  2. Navigate to the project directory:

    cd proof-of-duel
  3. Install Frontend Dependencies:

    Open a new terminal and navigate back to the main project directory:

    cd proof-of-duel-frontend
    npm install

    Create a .env file in the root directory with the following content:

    PRIVATE_KEY="xxxxxx"

    Start the Next.js development server:

    npm run dev

    The frontend will be available at http://localhost:3000.

  4. Build and Run the Game:

    Open a new terminal and navigate back to the main project directory:

     cd proof-of-duel-game

    Build the game using:

     cargo build

    Create a .env file in the root directory with the following content:

    IP_ADDRESS="127.0.0.1"

    Start the game server:

     cargo run --bin server

    Start the client in a separate terminal:

     cargo run --bin proof_of_duel

    You can run multiple clients in another terminals to simulate multiplayer matches.

📜 License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.

👀 Game Design Document

For a detailed game design document, see ProofOfDuelGDD.pdf.


Important: This project is in development process, no NFTs or coins are currently available. Beware of scammer.

About

Proof of Duel is a rhythm-based cowboy showdown where players battle using precision key combos in real-time duels. The stats is going to records on Solana blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages