This time I will write about CryptoZombies which I mentioned a bit in the last article. CryptoZombies is a service that lets you study Dapps development with game feeling. Since it was made to be completed on the web, I felt it was easy to start as a study of the program, because I could start it without building my own development environment myself.
今回は前回の記事で少し触れたCryptoZombiesについて書いていこうと思います。CryptoZombiesとはゲーム感覚でDapps開発の勉強ができるサービスになります。web上で完結するようにできているので自分で開発環境を構築することなくすぐ始めることができ、プログラムの勉強として始めやすいコンテンツかなと感じました。
There are six lessons currently distributed, and each lesson is divided into several more chapters. I have only done Lesson 1 yet, but Lesson 1 was divided into 15chapters and it was about content that could be cleared in about 1 chapter 3minutes. If you experienced in programming you can clear it in about 10minutes.
現在配信されているレッスンは全部で6つあり、それぞれのレッスンでさらにいくつかのチャプターに分かれています。まだレッスン1しかやっていませんがレッスン1は15チャプターに分かれていて1チャプター3分ほどでクリアできる程度の内容でした。プログラミング経験のある人であれば10分ほどでクリアできると思います。
The actual operation screen looks like this, an explanation is displayed on the left side of the screen, and Editor is displayed on the right side of the screen. The language to be used Solidity which is the development language of Ethereum.
実際の動作画面はこのようになっていて画面左側に説明が、画面右側にEditorが表示されます。レッスン1ではゲームキャラクターであるゾンビの外見を決めるコントラクトを記述します。使用する言語はイーサリアムの開発言語であるSolidityを使用します。
Learning is Lesson 1 is
・Basic writing style of solidity
・How to declare variables and functions
・About arrays and structures
・Random number generation
Solidity seems to be classified as a contract oriented language, but as a feeling, it is not much different from object-oriented. I think that a description method peculiar to solidity will emerge from now, but I think that those who have experience in game development with javaScrypto and unity are relatively easy to understand.
レッスン1で学習するのは
・solidityの基本的な書き方
・変数や関数の宣言の仕方
・配列や構造体について
・乱数生成
という内容です。solidityはコントラクト指向言語という分類らしいですが、体感としてはオブジェクト指向とあまり変わりません。まだレッスン1なのでこれからsolidity特有の記述方法も出てくると思いますが、javaScryptoやunityでゲーム開発の経験がある人は比較的理解しやすいのではないでしょうか。
This is a zombie generated by the contract I described this time. The content of the contract is to generate a random number of 16 digits by the inputted character string and determine the appearance such as hair and eyes by the random number. Next time I would like to review Lesson 2!
こちらが今回記述したコントラクトによって生成されたゾンビです。コントラクトの内容は入力した文字列によって16桁の乱数を生成しその乱数によって髪や目などの外見を決定するというものになっています。次回はレッスン2についてレビューしていきたいと思います!