The Elemental Battles Tutorial is divided into easy to follow lessons that take you through the process of creating your own fully-functional blockchain-based dApp.
Each lesson will introduce new concepts and showcase how to include them in the existing code. Additionally, we will display explanations and source code side-by-side to make following the tutorial easy.
This repository contains the source code used in each of the tutorial lesson. Each lesson's code are stored in a branch. You can find all the lesson branches from the list below.
- v1.1.0
- Introduce eosio.cdt, use eosio-cpp instead of eosiocpp for the compiler
- Use own docker image which is built using the binary instead of downloading from docker hub as the eosio/eos-dev in docker hub is deprecated
- eos 1.6.0, eosio.cdt 1.5.0, eosjs 20.0.0-beta3
Lesson 1: Smart Contract and Frontend Setup
Lesson 2: Storing State and Login
Lesson 3: Reading State from the Blockchain
Lesson 4: Elemental Battles Core
Lesson 5: Elemental Battles AI
Lesson 6: Playing a Round and Elemental Compatibility