A comprehensive new tutorial on creating a 2D arcade game with highscores recorded in a smart contract on the Ethereum blockchain.
The Ethereum Development Community recently published a guide on creating Phaser games running on the blockchain:
"In this tutorial, we will be creating a simple 2D arcade-style game where highscores are recorded in a smart contract on the Ethereum blockchain. We will guide you through setting up the project, programming the game using Phaser.js, writing the smart contract in the Solidity language using the Remix IDE, deploying the smart contract to Ethereum testnet, and finally connecting our game to Ethereum using MetaMask and Web3.js.
What kind of game are we making? We’ll keep it simple. The screen will have a bunch of randomly placed coins, and the player must collect as many of them as they can before the timer runs out. The score will then be recorded in the smart contract.
The academy will teach you everything from scratch – no prior programming knowledge needed."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices