×

Ethereum andBlockchain

Simple Decentralized APP

A blockchain is a peer-to-peer network of computers, called nodes, that share all the data and the code in the network which means the network and database all in one.

In this project, there's a front-end client that is written in HTML, CSS, and Javascript. Instead of talking to a back-end server, this client will connect to a local Ethereum blockchain that is handled by Ganache. All the business logic about this decentralized App is in an smart contract with the Solidity programming language and then be deployed to the local Etherum blockchain. The current account on website is tracked by MetaMask plug-in browser extension.

The font-end side paints canvas background with grids. By getting the string map input from payment, the 2D platform game built upon javascript DOM structure can generate different level and ready for playing.