TezTris 🟩🟥

TezTris 🟩🟥

The OG Tetris game but with a twist 👀

The problem TezTris 🟩🟥 solves

In this new web3 era, Gaming Industry is one of the biggest players. With the improvement in graphics and technologies such as virtual reality and augmented reality, our old OG arcade games are lost somewhere in this deap sea. In this hackathon, we found a chance to recreate one of the most popular games, Tetris but with incentives to play. We implemented a multiplayer mechanism to create a match in form of a smart contract which will contain details such as maximum players, minimum players, time duration for the match etc. Players can join an existing match or create a new match for their friends with a fixed entry fees of 1XTZ. Winner will be decided through a ranking system implemented using bubble sort method to determine the highest and the lowest scorer.

With the power of blockchain we were able to remove the requirement of middle-man or a central authority/platform to place friendly bets. With this automated system, all the prize money will be deposited into an escrow account for the duration of the game which can be claimed by the winner after the duration of match.

Challenges I ran into

The most challenging part about this project was definitely the User-Interface. We needed implementations such as multiplayer support, match creation page, match joining page. We overcame all these hurdles by referring to different tutorials available online and the official developer handbook provided by the Tezos.