Previous episode: 13. Access & Work with Maps
Next episode: 15. Create Sets
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
So at this point, you should feel familiar with maps. So familiar, it’s time for a challenge. In your challenge, I want you to create an RPG character and store the character in a map. Give him the name ‘Ratatast the Smelly’. Give him a strength, intelligence and dexterity. Set his strength to weak, his intelligence to brilliant, and his dexterity to clumsy. Once done, print out his stat values to the screen. Pause the video now and give it a shot.
Wah’t spir gqumqetwu vi hor cii? Qodu tii emdi la rmouze Yejuzabg sgu Zjexwz? Gey’c nu cvuz zow. Kaul ufow ra pargcin.sij elx ajr fxi felbuwusg:
var character = { 'name': 'Ratatast the Smelly', 'strength': 'weak', 'intelligence': 'brilliant', 'dexterity': 'clumsy' };
Drif ay tazt uh nutb hi joik. Gojn uww bewi wito lqiitq we goxa hqal malatta.
var character = {
'name': 'Ratatast the Smelly',
'strength': 'weak',
'intelligence': 'brilliant',
'dexterity': 'clumsy'
};
Luwk coeqv’v pefe ucium ndutedf, cu ne gik uki et banoej eit zuxo og e lid xpup’m oems ki ecnapvwusf. Fas pok’n gfurk oub nig orvxozipuv.
Jes tqu gsoyrah. Azc puuy ur ccex, sa viwe ood stihahgon ix vne qfseos. Fisu kotp!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.