project screenshot 1
project screenshot 2
project screenshot 3

Neopolis

Neopolis is a blockchain-based browser game where you use tokens to build towers, and with each block you place there's a chance the tower will tumble! If this happens then you get all the tokens used to build that tower!

Neopolis

Created At

ETHGlobal Paris

Winner of

🏊 Neon EVM — Pool Prize

Project Description

Welcome to Neopolis City, where you can build up towers and watch them topple!

Click on a tower to place one of your BLX, and if you're lucky the tower will topple and you will get all the BLX used to build it! The higher the tower, the greater chance it will tumble!

All application functionality happens on-chain, including the logic to determine if a tower will fall.

The game is running on the Neon developer network.

How it's Made

The application uses an Angular frontend that in turn uses the ethers.js library to interact with a smart contract deployed to the Neon network. I have used Harthat to manage the process of compiling, deploying and testing smart contracts.

The blocks used to build the towers are ERC20 compliant tokens, and the same smart contract also stores the state of the towers and uses entropy taken from the block timestamp and difficulty for a sense of randomness when determining whether or not to topple a tower. All application functionality is handled on-chain and the app has no other backend.

background image mobile

Join the mailing list

Get the latest news and updates