Course Summary
Start course
2h 36m

In this course, we begin building a game in Solidity, and more specifically, we begin to look at defining the mechanics and the components of the game.


Congratulations, what a huge topic? This is the heart of our game.

I hope by now it's more clear where and when to use data types, variables, and functions. We started with the outline of our game. There are several components that are important here. Firstly, we have three different Smart Contracts taking care of different things. We have one game that is deployed every time a new game starts. So, we always get a brand new instance of a game when we start one, but it gets controlled by a game manager. This game manager is deployed once and sits there forever.

Additionally, we have a high score functionality. This is done via a Highscore Manager. It is important at this stage to understand how the functionality plays together and why only a new game can add its own high score. In the game itself, we have a game board, which is the heart of our free narrow game. We have some events defined, but there are some things missing to fully understand how this play together. That's why in the next section we're going a level deeper into the Ethereum Blockchain.

By the end of this section, you are going to be fully aware of Ether denominations, how to interact with Smart Contracts from outside the ABI rate, how private public key signatures work. And I want to discuss the concept of gas on a deeper level and exactly how events work. So, I'll see you in the next section.

About the Author

Tom is a CTO, senior back-end developer, and systems architect with over twenty years of hands-on development experience in a variety of languages and systems. He has a CS master's degree and has been working with Ethereum and blockchain technologies since 2016.