project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

FlickArena

A fully on-chain dart 301 game where players compete in thrilling matches, throwing virtual darts to reach zero points. Experience the excitement of darts with blockchain technology, ensuring fairness and transparency in every throw.

FlickArena

Created At

ETHOnline 2024

Winner of

trophy

Best Use of Web3Auth Mobile/Gaming SDKs

Project Description

FlickArena is an innovative, fully on-chain implementation of the classic dart 301 game that bridges the physical and digital worlds. This blockchain-based version connects real dart boards to the Ethereum network through a custom iOS application, creating a unique gaming experience that combines traditional darts with cutting-edge technology.

Key features of FlickArena include:

  • Integration of physical dart boards with blockchain technology
  • iOS app for real-time score tracking and blockchain interaction
  • Fully on-chain gameplay, ensuring transparency and fairness
  • Betting system with prize pools for each game
  • Smart contract-based game logic for dart throws, scoring, and payouts
  • Bluetooth connectivity between the dart board and iOS device
  • Provably fair gameplay and payout distribution

Players can join matches by placing a bet, which contributes to the game's prize pool. As they throw darts on a physical board, the iOS app captures the scores in real-time via Bluetooth and transmits them to the blockchain. The game's smart contract handles all aspects of gameplay, from initiating matches to determining winners and distributing prizes, providing a trustless and immersive gaming experience that combines the best of physical and digital worlds.

How it's Made

FlickArena is built using a sophisticated blend of hardware integration, mobile development, and blockchain technologies to create a seamless, decentralized gaming experience. Here's a breakdown of the key components and technologies used:

Smart Contracts: The core game logic is implemented using Solidity smart contracts deployed on the Ethereum blockchain. These contracts handle game state, player actions, scoring, betting, and prize distribution.

iOS Application: We developed a custom iOS app using Swift and SwiftUI. This app serves as the bridge between the physical dart board and the blockchain, handling Bluetooth communication, score tracking, and interaction with Ethereum smart contracts.

Bluetooth Integration: The iOS app uses Core Bluetooth framework to communicate with the physical dart board, capturing throw results in real-time.

Web3.swift: We integrated Web3.swift library to enable the iOS app to interact with the Ethereum blockchain, allowing players to connect their wallets, place bets, and submit scores directly from their mobile devices.

One particularly innovative aspect of our implementation is the seamless integration of physical dart throws with blockchain transactions. We developed a custom protocol that efficiently encodes dart throw results into compact data structures, minimizing gas costs when submitting scores to the blockchain.

Another notable feature is our use of a state channel-inspired approach for handling rapid score submissions. This allows for quick, gas-free score updates during a game, with only the final game result being settled on-chain, significantly reducing transaction costs for players.

The betting and prize pool system presented unique challenges in terms of ensuring fair play and timely payouts. We implemented a clever escrow mechanism in our smart contracts that locks bets at the start of each game and automatically distributes winnings based on the final scores, all without requiring trust in a central authority.

By leveraging the Chiliz Chain and its ecosystem, we've created a truly unique gaming experience that bridges the physical and digital worlds while tapping into the passion of sports fans. FlickArena showcases the potential of blockchain technology, specifically the Chiliz Chain, to transform traditional games, adding new layers of excitement, fairness, and financial incentives to the classic game of darts.

Furthermore, our integration with the Chiliz ecosystem opens up exciting possibilities for partnerships with sports teams and organizations. For instance, we could create special tournaments or events tied to specific Fan Tokens, allowing fans to engage with their favorite teams in a whole new way through our dart game.

background image mobile

Join the mailing list

Get the latest news and updates