Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

111 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sol Horse - AI-Powered Solana Horse Racing Game

Sol Horse Banner

Sol Horse Logo

Made by ereezyy TypeScript Blockchain MIT License

๐Ÿ‡ NFT Horse Racing โ€ข ๐ŸŽฎ Blockchain Gaming โ€ข ๐Ÿค– AI-Powered โ€ข โšก Solana Network


๐Ÿ‡ Overview

Sol Horse is an innovative blockchain-based horse racing game built on the Solana network. This decentralized application combines the excitement of horse racing with cutting-edge AI technology and NFT ownership, creating an immersive gaming experience where players can own, breed, train, and race virtual horses.

โœจ Features

๐ŸŽ Horse NFTs

  • Unique Genetics: Each horse has distinct attributes including speed, stamina, agility, temperament, and intelligence
  • Bloodlines: Multiple bloodlines including Arabian, Thoroughbred, Quarter Horse, Mustang, and Legendary
  • Rarity System: Common, Uncommon, Rare, Epic, and Legendary horses with varying capabilities
  • Visual Customization: Different coat colors, markings, and visual traits

๐Ÿ Racing System

  • Real-time Racing: Experience thrilling races with dynamic outcomes based on horse genetics and AI
  • Betting Mechanics: Place bets on races and earn rewards
  • Tournament System: Participate in competitive tournaments with prize pools
  • Race Analytics: Detailed performance tracking and statistics

๐Ÿงฌ Breeding & Training

  • Genetic Breeding: Combine horses to create offspring with inherited traits
  • Training Centers: Improve your horses' abilities through specialized training programs
  • Bloodline Management: Strategic breeding to develop superior racing lineages

๐ŸŽฎ Gameplay Features

  • Daily Quests: Complete challenges to earn rewards and experience
  • Player Profiles: Track your achievements, statistics, and horse collection
  • Wallet Integration: Seamless Solana wallet connectivity for NFT management
  • Analytics Dashboard: Comprehensive insights into your racing performance

๐Ÿ› ๏ธ Technology Stack

  • Frontend: React 18 with TypeScript
  • Styling: Tailwind CSS for responsive design
  • Animation: Framer Motion for smooth UI transitions
  • Blockchain: Solana Web3.js for blockchain integration
  • Wallet: Solana Wallet Adapter for multi-wallet support
  • State Management: Zustand for efficient state handling
  • Build Tool: Vite for fast development and building
  • Icons: Lucide React for consistent iconography

๐Ÿš€ Getting Started

Prerequisites

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

  • Node.js (v16 or higher)
  • npm or yarn package manager
  • A Solana wallet (Phantom, Solflare, etc.)

Installation

  1. Clone the repository

    git clone https://github.com/ereezyy/Sol_Horse.git
    cd Sol_Horse
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser Navigate to http://localhost:5173 to view the application

Available Scripts

  • npm run dev - Start the development server
  • npm run build - Build the project for production
  • npm run preview - Preview the production build locally
  • npm run lint - Run ESLint for code quality checks

๐Ÿ—๏ธ Project Structure

Sol_Horse/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/          # React components
โ”‚   โ”‚   โ”œโ”€โ”€ AnalyticsDashboard.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ BettingPanel.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ BreedingCenter.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ DailyQuests.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ HorseCard.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ Navigation.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ PlayerProfile.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ RaceTrack.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ TournamentCenter.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ TrainingCenter.tsx
โ”‚   โ”‚   โ””โ”€โ”€ WalletConnection.tsx
โ”‚   โ”œโ”€โ”€ services/           # API and blockchain services
โ”‚   โ”œโ”€โ”€ store/             # State management
โ”‚   โ”œโ”€โ”€ types/             # TypeScript type definitions
โ”‚   โ”œโ”€โ”€ App.tsx            # Main application component
โ”‚   โ”œโ”€โ”€ main.tsx           # Application entry point
โ”‚   โ”œโ”€โ”€ index.css          # Global styles
โ”‚   โ””โ”€โ”€ vite-env.d.ts      # Vite environment types
โ”œโ”€โ”€ docs/                  # Documentation
โ”œโ”€โ”€ public/                # Static assets
โ”œโ”€โ”€ .bolt/                 # Bolt configuration
โ”œโ”€โ”€ package.json           # Project dependencies and scripts
โ”œโ”€โ”€ vite.config.ts         # Vite configuration
โ”œโ”€โ”€ tailwind.config.js     # Tailwind CSS configuration
โ”œโ”€โ”€ tsconfig.json          # TypeScript configuration
โ””โ”€โ”€ README.md              # This file

๐ŸŽฏ Game Mechanics

Horse Attributes

Each horse NFT contains the following genetic attributes that determine racing performance:

Attribute Description Impact
Speed Base running velocity Primary factor in race times
Stamina Endurance over distance Affects performance in longer races
Agility Cornering and maneuvering ability Important for complex track layouts
Temperament Consistency and reliability Reduces performance variance
Intelligence Learning and adaptation Improves with training and experience

Breeding System

The breeding system allows players to combine two horses to create offspring with inherited traits:

  • Genetic Inheritance: Offspring inherit attributes from both parents with some randomization
  • Bloodline Preservation: Certain bloodlines have higher chances of producing superior horses
  • Rarity Enhancement: Breeding rare horses increases chances of legendary offspring
  • Cooldown Periods: Horses require rest between breeding sessions

Racing Dynamics

Races are determined by a combination of factors:

  • Horse Genetics: Base attributes provide the foundation for performance
  • Track Conditions: Different tracks favor different horse types
  • Weather Effects: Environmental conditions impact race outcomes
  • Jockey Skills: AI-driven jockey performance adds strategic depth
  • Training History: Well-trained horses perform better over time

๐Ÿ”— Solana Integration

Wallet Connection

The application supports multiple Solana wallets through the Wallet Adapter:

  • Phantom
  • Solflare
  • Slope
  • Sollet
  • And many more...

NFT Management

  • Minting: Create new horse NFTs through breeding or purchasing
  • Trading: Buy and sell horses on integrated marketplaces
  • Metadata: Rich metadata stored on-chain for each horse
  • Ownership: Transparent ownership verification through blockchain

Token Economics

  • SOL Integration: Primary currency for transactions and betting
  • Reward Distribution: Winners receive SOL rewards from race pools
  • Breeding Costs: Breeding requires SOL payment for genetic combination
  • Training Fees: Improving horses requires investment in training programs

๐ŸŽจ User Interface

The application features a modern, responsive design with:

  • Dark Theme: Sleek dark interface optimized for gaming
  • Smooth Animations: Framer Motion provides fluid transitions
  • Mobile Responsive: Fully functional on desktop and mobile devices
  • Intuitive Navigation: Easy-to-use interface for all game features
  • Real-time Updates: Live data updates for races and statistics

๐Ÿ”ง Development

Code Quality

The project maintains high code quality through:

  • TypeScript: Strong typing for better development experience
  • ESLint: Automated code linting and formatting
  • Component Architecture: Modular, reusable React components
  • State Management: Centralized state with Zustand
  • Error Handling: Comprehensive error handling and user feedback

Performance Optimization

  • Vite Build System: Fast development and optimized production builds
  • Code Splitting: Lazy loading for improved performance
  • Asset Optimization: Optimized images and resources
  • Caching Strategies: Efficient data caching for better UX

๐Ÿค Contributing

We welcome contributions to Sol Horse! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Maintain consistent code formatting with ESLint
  • Write meaningful commit messages
  • Test your changes thoroughly
  • Update documentation as needed

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

If you encounter any issues or have questions:

  1. Check the documentation for detailed guides
  2. Search existing issues
  3. Create a new issue with detailed information
  4. Join our community discussions

๐Ÿš€ Roadmap

Phase 1: Core Features โœ…

  • Basic horse NFT system
  • Racing mechanics
  • Wallet integration
  • User interface

Phase 2: Enhanced Gameplay ๐Ÿšง

  • Advanced breeding system
  • Tournament competitions
  • Daily quests and rewards
  • Analytics dashboard

Phase 3: Community Features ๐Ÿ“‹

  • Multiplayer tournaments
  • Guild system
  • Marketplace integration
  • Social features

Phase 4: Advanced AI ๐Ÿ”ฎ

  • Machine learning race predictions
  • Dynamic difficulty adjustment
  • Personalized training recommendations
  • Advanced genetic algorithms

๐Ÿ† Achievements

Track your progress with various achievements:

  • First Race: Complete your first race
  • Breeding Master: Successfully breed 10 horses
  • Tournament Champion: Win a tournament
  • Collector: Own horses from all bloodlines
  • Trainer: Max out a horse's training
  • Lucky Bettor: Win 100 bets

Built with โค๏ธ on Solana

Experience the future of horse racing gaming with Sol Horse - where blockchain meets the track!

About

Sol Horse is an innovative blockchain-based horse racing game built on the Solana network. This decentralized application combines the excitement of horse racing with cutting-edge AI technology and NFT ownership, creating an immersive gaming experience where players can own, breed, train, and race virtual horses.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages