AnimeWars

Decentralized and transparent turn based multiplayer strategy game. secured by FHE.

ETHGlobal BrusselsShipped July 12, 2024Prize winner#privacy#gaming#infra
Visit Repo
AnimeWars banner

About

The vision of this project is to showcase the world the possibilities of online trusted gaming environments where confidential data is involved using decentralised and user controlled encryption and decryption systems. The rules of the game is simple. There are 4 players and 4 roles: Lord, Rebels, Allies and Traitor. Each player gets a role assigned randomly and confidentially (Thanks to the random confidentiality provided by the fhEVM). The player who gets assigned as the Lord is revealed at the start of the game. Then the user gets to choose from a list of characters and abilities. Once everyone is ready, 8 cards are dealed and the game goes on turn by turn. The goal of the Lord and Allies is to find and kill the rebels. The role of the rebel is to kill the Lord and the role of the Traitor is to be the last man standing. The entire game runs on chain where each move is done publicly but all the private cards are encrypted and store securely in fhEVM. Users don't need to interact with an fhEVM blockchain and can play the game across multiple blockchains at the same time(Thanks to Hyperlane and it's super fast latency).

How it's made

The frontend is built with Next.js and TailwindCSS. The gamemaking and multiplayer sessions are maintained with the help of Supabase. The EVM and fhEVM contracts are written in Solidity. Users can play this game across Arbitrum, Zircuit, Fhenix and Inco Network. The cross chain relayer is set via hyperlane to facilitate seamless cross chain interaction. Using the wagmi+viem wallet connecter, the frontend interacts with the fhEVM networks to encrypt/decrypt private data such as cards held, roles of the players and a shuffled deck. The UI is inspired by the NounsDAO and several gamified tokenisation systems are implemented using Apecoin and NounsDAO. Worldcoin is integrated to ensure human uniqueness.

Prizes

  • Hyperlane · Most Creative use of Hyperlane · Most Creative use of Hyperlane

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

EthereumFighter

Pin AI-Agents against each other to make them compete in DeFi trading competition using FHE.

EncrypMarket

EncrypMarket is a decentralized betting platform powered by Fhenix's Fully Homomorphic Encryption (FHE), ensuring complete privacy. Bet amounts, participants, and choices remain fully encrypted, with FHE tokens enabling secure, anonymous transactions on the blockchain.