Inspiration

"Bet On Goat" is a multiplayer web3 game set in a whimsical world where players bet on virtual goats in exciting races. Built on the Polygon Mumbai, Polygon zkEVM Testnet, and Avalanche Fuji Testnet, the game leverages Chainlink VRF to ensure fair and unpredictable race outcomes. Developed in Unity Engine, it offers a seamless and visually rich gaming experience, where each goat's abilities are influenced by randomized factors. Players engage in strategic betting, goat customization, and interactive race experiences, all enhanced by blockchain technology for transparent and secure gameplay.

What it does

"Bet On Goat" is a multiplayer web3 game where players engage in virtual goat races. In this game, each goat has unique characteristics and abilities, influenced by verifiable random factors powered by Chainlink VRF (Verifiable Random Function). Players can bet on the outcome of these races, with the blockchain technology ensuring transparency and fairness in the betting process. The game operates on Polygon Mumbai, zkEVM Testnet, and Avalanche Fuji Testnet, providing a decentralized and secure gaming experience. The Unity Engine brings these races to life with immersive 3D graphics. Additionally, the game may offer features like goat customization, strategic betting, and social interactions, creating a dynamic and engaging virtual racing environment.

Features and Use Of Chainlink, Polygon and Avalanche

  • Practice and Real Betting Mode with Multiplayer System
  • DeFI - In-Game Store support with Polygon zKEVM Testnet, Polygon Mumbai and Avalanche Fuji Testnet
  • Chainlink VRF and Function to select random Goat to win Auto Prize Distribution

How we built it

To build "Bet On Goat," a multiplayer web3 game, we chose Unity Engine for its robust graphical capabilities. The game runs on Polygon Mumbai and zkEVM Testnets, along with Avalanche Fuji Testnet, ensuring broad network compatibility and fast transactions. We integrated Chainlink VRF (Verifiable Random Function) to bring transparent and verifiable randomness to goat races, making each race unique and fair. This integration ensures that the outcome of each race is unpredictable, enhancing the excitement. The game's smart contracts manage betting and payouts, while Unity provides a rich and interactive 3D gaming environment.

Challenges we ran into

Developing "Bet On Goat" presented unique challenges: Integrating multiple blockchains (Polygon Mumbai, zkEVM Testnet, and Avalanche Fuji Testnet) with Unity Engine was complex, requiring careful synchronization for seamless gameplay. Implementing Chainlink VRF for fair race outcomes demanded meticulous smart contract coding to ensure reliability and security. Additionally, ensuring smooth multiplayer interactions in a decentralized environment was challenging, particularly in managing latency and network stability. Balancing blockchain interactions with real-time gaming elements to maintain a fluid user experience also posed significant technical hurdles.

Accomplishments that we're proud of

We're immensely proud of successfully integrating "Bet On Goat" with multiple blockchains (Polygon Mumbai, zkEVM Testnet, and Avalanche Fuji Testnet), a feat that showcases our technical prowess in blockchain interoperability. The implementation of Chainlink VRF in Unity Engine is a significant accomplishment, ensuring fair and unpredictable race outcomes. We've also excelled in creating a seamless multiplayer experience in a decentralized setting, overcoming challenges in network stability and latency. The game's engaging and intuitive interface, combined with its robust back-end, represents a major achievement in the fusion of blockchain technology with real-time gaming.

What we learned

Through developing "Bet On Goat," we learned the intricacies of integrating blockchain technology with real-time gaming. Working with multiple testnets like Polygon Mumbai, zkEVM, and Avalanche Fuji, we gained deep insights into the nuances of different blockchain architectures and their transaction handling. Implementing Chainlink VRF in Unity taught us about ensuring fairness and transparency in game mechanics using blockchain. We also learned valuable lessons in handling network latency and stability for a smooth multiplayer experience, and the importance of intuitive UI/UX design in making complex blockchain functionalities accessible to players.

What's next for Bet On Goat Race

Looking ahead for "Bet On Goat," our focus is on expanding the game's ecosystem. We plan to introduce new, diverse goat breeds and customizable features, enhancing player engagement. Implementing additional gameplay modes, like tournaments and special events, will add depth. We're also exploring the integration of NFTs for unique goat ownership and trade. Technologically, we aim to optimize smart contract efficiency and explore Layer 2 solutions for improved scalability. Community building is key, so we're focusing on social features and player-driven content. Ultimately, we'll look to deploy on mainnets, broadening our audience reach.

Built With

Share this project:

Updates