project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Token Tacticts

Token Tacticts is a fully onchain strategy game that was inspired by the boardgame risk. Token Tacticts differs from the regular game in that all players are clouded by a fog of war!

Token Tacticts

Created At

ETHGlobal Brussels

Winner of

Inco Network - Best Gaming dApp 2nd place

Project Description

The project uses Inco network as a chain to host the smart contracts. Through Inco network we are able to obtain randomness and encrypted values throughout the smart contracts. The game allows for any one to create a game, and for anyone to join a game. Then the creator can start the game. The territories owned by each player and the amount of troops owned by each player are hidden. A special re-encryption function is used to view the territories that you own and the neighbors of that territory. Additionally. every round a player receives an amount of gold equivalent to how many territories they own. Through this gold, they can purchase troops or cards. Cards can be used as a specialty. The cards available are garrison,artillery, bomb, and satellite. These grant the user special functions for their game. For example, the satellite card allows a user to permanently view 1 territory no matter how far it is. The amount of cards a user owns is also encrypted as well, so no one can spy on another player, even if they really dug around the network.The game either ends by one player taking all of the territory or the game creator calling end game. The winner is determined by who owns the most amount of territory.

How it's Made

The main technology used by the project was the fully homomorphic encryption(FHE) on Inco network. This tech is the backbone of the smart contracts and it allows for all of the data to be hidden and usable. The smart contracts were written in solidity and tests were written as well. Additional, the generate randomness function was used on Inco as well for the attacks to simulate the randomness aspect in a battle.

background image mobile

Join the mailing list

Get the latest news and updates