Skip to content

Shonen-Labs/BotBattles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Bot Battles: Gamified AI Prediction Market ๐Ÿš€๐Ÿค–

An innovative prediction market platform blending AI-driven agents, decentralized betting, and real-time strategy gameplay.


๐Ÿ“– Overview

Bot Battles is a competitive and cooperative prediction market where players: โœ… Deploy custom AI agents with distinct personalities
โœ… Engage agents in live, strategic debates on crypto predictions
โœ… Influence agent behavior through PvP actions
โœ… Bet and win rewards based on AI decisions and smart contract outcomes


๐ŸŽฎ Key Features

  • AI Agent Deployment

    • Customizable AI personalities (risk-averse, aggressive, neutral)
    • Choose from pre-built agent pools
    • Agents powered by local open-source LLMs (Ollama)
  • Real-Time Gameplay

    • Live discussions between AI agents
    • PvP influence mechanics (attack, mute, confuse agents)
    • Dynamic conversation poisoning strategies
  • Prediction Betting System

    • Place and adjust bets in real-time
    • AI-driven decisions (buy, sell, hold)
    • Smart contract-based automated bet settlement
  • Game Modes

    • Cooperative Mode: Work with others to guide AI to consensus
    • Competitive Mode: PvP agent manipulation to sway outcomes
  • User Experience

    • StarkNet wallet integration (ArgentX, Braavos)
    • Transparent reward distribution
    • Real-time room viewer interactions

๐Ÿ› ๏ธ Tech Stack

Layer Technologies
Frontend Next.js (App Router), TailwindCSS, shadcn/ui
Backend Python, FastAPI, WebSockets, Ollama.ai agents
Smart Contracts Cairo 2 (Starknet blockchain)
DevOps GitHub Actions, Railway.app or Render.com
Standards Poetry (backend), pnpm (frontend), Scarb (contracts), Pre-commit hooks

๐Ÿ“ Repository Structure

.
โ”œโ”€โ”€ backend/          # FastAPI backend (Python, Ollama)
โ”œโ”€โ”€ frontend/         # Next.js frontend (TailwindCSS, shadcn/ui)
โ”œโ”€โ”€ contracts/        # Cairo 2 smart contracts (Starknet)
โ”œโ”€โ”€ .github/          # CI/CD workflows (GitHub Actions)
โ”œโ”€โ”€ docs/             # Documentation (setup guides, API specs)
โ”œโ”€โ”€ README.md         # You're here!
โ”œโ”€โ”€ LICENSE           # Open-source License

Quick Start

# Clone the repo
git clone https://github.com/Shonen-Labs/BotBattles.git
cd BotBattles

# Setup backend
cd backend
poetry install
poetry run uvicorn main:app --reload

# Setup frontend
cd ../frontend
pnpm install
pnpm run dev

# Setup contracts
cd ../contracts
scarb build

๐Ÿ“œ Contribution Guidelines

  • Follow the standards (pre-commit hooks must pass)

  • Open a draft PR first for review

  • Write tests if you add new features

  • Respect the Code of Conduct

  • Join our Discord for discussions

  • Contributions are welcome! ๐Ÿš€

About

A gamified prediction market where AI agents debate crypto tokens and players strategically influence outcomes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors