project screenshot 1
project screenshot 2
project screenshot 3

GamblingTurtles

A game of racing turtles. Stake to play, bet to win (and bring chaos).

GamblingTurtles

Created At

ETHGlobal Paris

Project Description

This project is a game developed in Unity. It is a multiplayer game that utilizes Netcode for Game Objects. The rules are simple:

  1. The player place a stake to start the race;
  2. The turtle (the play object), moves around two axis (up/down; left/right) by keyboard input;
  3. If the player arrives at the finish line, they can either:
  4. Get their stake back OR 4.1. Change the moving forward key for all the current players 4.1.1. The players are warned that the key has been changed, but don't know which is the new key - trial and error!
  5. In the meantime, the player who opted for changing the key goes back to the start of the race and, if the arrives at the finish line again before any other player, he receives 150% of his stake. 5.1. If he doesn't get there in time, he loses the stake.

How it's Made

This project uses Unity and Netcode for Game Objects to create a networking multiplayer game. It connects to a blockchain wallet so player can place their stakes and gamble at the finish line. Blockchain protocols are also necessary to make alterations in the forward key, but gas fees are currently a great deterrent to the game's success. Therefore, I believe it can thrive in Layer 2. I tried to use Metamask SDK for Unity, but I'm really not sure how to, since I'm new to the API methods of Ethereum. Besides, Unity Transport doesn't work for WebGL, so there's no alternative I can see to use both Netcode and Metamask SDK in Windows so far (I might be wrong. As I said, I'm just starting :)) I know Thirdweb has already great resources, I hope Metamask can catch up!

background image mobile

Join the mailing list

Get the latest news and updates