Description and background

Our team has previous (1 year ago) experience with Wordle development. We wanted to take the next step of not only deploying it onto Solana blockchain but also add a synchronous multiplayer system.

How we built it

Maintained game state on a game wallet, created during runtime. Handled game logic concurrently using smart contracts in Rust. We had a surprising amount of Typescript to create server-side socket programming for matchmaking, manage Solana transactions, and build out screens.

Challenges we ran into

  • Integrating Solana with React components, especially using Borsh serialization functions
  • Handling off-chain matchmaking on a separate server
  • Testing on Testnet because of rate limiting issues; solved by testing on a local Solana blockchain

Features and accomplishments

  • Successfully deploying matchmaking server
  • Syncing moves across clients
  • Adding a synchronized clock time limit for both clients
  • Interactive landing page, secure authentication for Phantom wallets
  • Settings, post-game stats page
  • Dark mode, accessibility color mode

What we learned

  • Hands-on experience with the Solana ecosystem, Rust programming
  • Using smart contracts and digital assets
  • Lessons on security and fast/responsive transaction times
  • Serializing data between languages

What's next for Feudle

Future development ideas include

  • More complex word challenges and team modes
  • A leaderboard or rating system, that increases the amount of sol won/lost the further one climbs
  • A spectator mode with a 5 minute delay
  • A practice/training mode on the starting page while in queue

Built With

Share this project:

Updates