What is this project?
YumeRTS is a bountry winning project in ETHGlobal Bangkok in multiple tracks: Arbitrum's Stylus General Track and Phala Network's Best use of TEE in Blockchain Track
Inspiration and What it does
Web3 games are typically shunned upon for not being actually fun. As much as I would like to take an opposite stance to that argument, they do have a solid point. Web3 games rely too much on play-to-earn mechanism that it has entirely forego the main reason we play games...to have fun. It dawns upon me that with the advent of TEEs and fast L2s like Arbitrum, we no longer need to stick to the old ways of doing things.
YumeRTS is a PoC, and potentially a long term project, that demonstrates how current DePin infrastructure projects can actually transform how we think about web3 gaming, forever.
In YumeRTS, players can create 1 vs 1 real-time multiplayer skirmish matches running in TEE on a 20x20 board controlling 3 types of troops: Infantry, Archer and Cavalry. The game is simulated tick by tick (every 0.5 second). A good reference point would be Conway Game Of Life but with players able to control individual troop. The main objective for the two players is to annihilate all the opponents troops before they annihilate all their own troops.
There is even a simple prediction market for the spectators to place predictions on who would win the match before the match starts. And that's not all, the spectators would be able to join and watch the match live! They can also watch the match replay by looking at the match history!
Players would also be able to draw random commander characters like gacha (inspired from Genshin) with varying level of stats. These characters would be awarded to the users as NFT characters, which they can use to enhance their advantage in game. Some commander are great for infantry, some for archers and some for cavalry. Player's strategy will dictate which character would be suitable for them!
Infantry -> Strong against Cavalry, Movement Speed -> 4 ticks (move every 4 tick) Archer -> Strong against Infantry, Movement Speed -> 3 ticks Cavalry -> Strong against Archers, Movement Speed -> 1 tick
How it's Made
Main infrastructure Stack
Frontend: Next.js Backend: Phala Network (TEE) Blockchain: Arbitrum Stylus Key Technical Features
Trustless gameplay through TEE Real-time multiplayer synchronization Verifiable randomness for gacha system Blockchain-based match history and replays Technology Integrations
Arbitrum Stylus: Smart contracts and game logic Phala Network: Secure game instances Push Protocol: Real-time notifications Privy: Seamless web3 onboarding Circle: USDC integration for predictions
Built With
- arbitrum
- rust
- typescript