hackquest logo

Touchline

Touchline is a fully ochain-based football card game that combines the thrill of collecting digital player cards with strategic squad building and competitive gameplay.

视频

描述

Touchline

The Ultimate Digital Football Card Game on StarkNet

Touchline is a fully ochain-based football card game built on Dojo that combines the thrill of collecting digital player cards with strategic squad building and competitive gameplay. Built on StarkNet using the Dojo framework, Touchline offers true ownership of your digital assets and transparent, provably fair gameplay.

🎮 Game Overview

Touchline brings the excitement of football card collecting. Players collect digital cards of real football players, build strategic squads, and compete in matches using a unique commit-reveal gameplay mechanism that ensures fair play and strategic depth.

✨ Key Features

🃏 Digital Card Collection

  • Player Cards: Collect cards featuring real football players with authentic stats

  • Rarity System: Common, Rare, Epic, Legendary, and Icon tier cards

  • Position-Based Gameplay: Goalkeeper, Defender, Midfielder, and Forward positions

  • Dynamic Stats: Attack, Defense, and Special ability ratings

  • Special Abilities: Unique player abilities that can turn the tide of matches

🏟️ Squad Management

  • Multiple Formations: 4-4-2, 4-3-3, 3-5-2, 5-3-2, and 3-4-3 tactical setups

  • Chemistry System: Build synergy between players for enhanced performance

  • Squad Builder: Create and manage multiple squads with different strategies

  • Player Substitutions: Make tactical changes during matches

⚔️ Strategic Combat System

  • Commit-Reveal Mechanism: Submit encrypted moves, then reveal for fair gameplay

  • Turn-Based Strategy: Plan your moves carefully in each round

  • Action Types: Attack, Defend, Special abilities, and Substitutions

  • Tactic Cards: Special cards that provide strategic advantages

🏆 Competitive Features

  • Match Creation: Create and join matches with other players

  • Real-Time Competition: Compete against opponents worldwide

  • Tournament System: (Coming Soon) Organized competitions with rewards

  • Leaderboards: Track your performance and climb the rankings

🛠️ Technical Architecture

Touchline is built using cutting-edge blockchain technology:

  • StarkNet: Layer 2 scaling solution for Ethereum

  • Dojo Framework: Cairo-based game engine for on-chain games

  • Cairo Language: Smart contracts written in Cairo for optimal performance

  • React + TypeScript: Modern frontend with type safety

  • Tailwind CSS: Utility-first CSS framework for responsive design

🏗️ Smart Contract Systems

Core Systems

  • Players System: Create and manage player cards with stats and abilities

  • Squad System: Build and organize your teams with formations

  • Match System: Handle match creation, joining, and progression

  • Actions System: Process in-game moves and reveals

Data Models

  • Card: Player information, stats, position, rarity

  • Squad: Team composition, formation, chemistry

  • Match: Game state, participants, rounds

  • Special Abilities: Unique player skills and bonuses

🚀 Getting Started

🎮 Play Now

Prerequisites

  • Node.js 18+ and Yarn

  • Cartridge controller

  • Basic understanding of Web3 gaming

https://docs.google.com/presentation/d/1WNdB5Q5jx6liiFjLrBzMqR-YR1kWAgXSDXjz3u8jSRE/edit?pli=1&slide=id.g35da90e8c3f_0_1912#slide=id.g35da90e8c3f_0_1912

本次黑客松进展

Week 1 (Smart Contracts): Core game systems (Players, Squad, Match, Actions) Commit-reveal mechanism for fair gameplay Card rarity and stats systems Formation and chemistry mechanics Week 2 (Frontend & Integration): React/TypeScript interface Cartridge controller Game UI for squad building and matches Integration with the Dojo

技术栈

React
Dojo
Starknet
队长
TTed Ogola
赛道
GamingNFT
获奖赛道
Champion

2nd Place - $1500 in STRK

Starknet Hackathon: Re{ignite}