Cryptocodeschool: an interactive game where you write your first smart contract on Tezos. (Beginner-friendly)

Cryptocodeschool: an interactive game where you write your first smart contract on Tezos. (Beginner-friendly)

By Allen Walters | Publish0x posts | 26 Jun 2020


This course does require you to have working knowledge of Python and it’s basic concepts. But, it is worth a look even if you don't have that knwoledge. So, you never wrote code and until this point you only invested in crypto but never took a peek at the world behind the scenes? Don't stop reading! This course is interactive and is highly recommended for anyone that always wanted an ELI5 explanation of blockchain and smart contracts. It's fun and informative and even if you're not a developer, I'd recommend you to just check out the game and see how far you come. The game has a "Show answer" button. So anyone can get to chapter two, where you'll find a great ELI5 explanation of what blockchain is and why you would use blockchain technology. Next is a quick but clear-cut ELI5 explanation of what a smart contract is. Then they put 1 and 2 together and the use-case of blockchain + smart contracts is crystal clear.

"It may not sound a big deal until you focus on the part where you don’t need to rely on any trusted third party to manage and maintain this system.
Imagine all the big banks buildings in the world are now equivalent to a software protocol. That’s game changing."

If you already have experience, this is a great introduction to writing Tezos smart contracts. But if you invested in cryptocurrency but are fuzzy on the technical aspects, at least get through to chapter two, this is a fun must-read.

And if you got to chapter two, why not scratch that one item of your bucket list? Write a smart contract! In this course, you will learn about smart contracts and how to write one using SmartPy. Fun part is: the game has the option for you to cheat: just click the button "Show answer". In the second chapter you write your first characters in SmartPy. Just write the answer between the quotation marks. Anyone familiar with Tezos knows the first answer and can get past chapter two.
If you wrote your answer, you press the "Check" button and if you made a mistake, you will get this message:

13fc3d5d476c263e1d3ad2c0b621484fe1f0408a63a1cecf75bb503551761418.png

If you can't figure out what your mistake is, you just click the "Show answer" button. The red line shows you the correct answer, and in the green line is highlighted what your mistake is:

b7bfd1e1077fb0c2cf03cdd49dd82dd7ce9ed3102290aeccfc70704d9ec7de71.png

After you corrected your answer, the red line is gone and you can continue.
If your not sure what you've done wrong, make sure you used the correct indentation:

333240ce084efd6ae7fa7c3710a6cef365607ead367381a6df07b480a027c575.png

Corrected:

19f02d94a9272591d0daebdae48fc6d27b5187d75f67a6c7f1a0b3ad5f0b3289.png

After 15 chapters, you finished your smart contract, and you can kill a few aliens in your first smart contract game.

028ce7d341577d58abdcc9761963f5978a91df4c4bb89ffd9975ed70e583f814.png

You can start the course here. It's free and without registration. Click and you're ready to go.

------------------

New to Tezos? Read this full introduction to Tezos.

New to Publish0x? Create an account here and you will be able to tip articles and earn some crypto rewards yourself while doing so. 

How do you rate this article?

84


Allen Walters
Allen Walters

Fascinated by blockchain and future proofing cryptocurrency. Discover the tech before it gets relevant. Twitter: @IgnoranceIt


Publish0x posts
Publish0x posts

Posting my opinion and feedback on Publish0x here.

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.