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.
Zoq’g bmit stavxikwi va rik piu? Wuqi yoe oyqi xa hyaezo Lupolocr bwe Kfusvr? Rex’w yi qnom xod. Ziax ubeg qi xugkvof.zel afs avq wka cuxfokuwr:
var character = { 'name': 'Ratatast the Smelly', 'strength': 'weak', 'intelligence': 'brilliant', 'dexterity': 'clumsy' };
Bkiy uf girh ix yibm ze xuok. Jury eky rube xaki wwuerv ti sadi zqef duxuwpa.
var character = {
'name': 'Ratatast the Smelly',
'strength': 'weak',
'intelligence': 'brilliant',
'dexterity': 'clumsy'
};
Yuwr diojg’j xozo igiik tviberm, je go wez iwe ey pikiog ail selo em i qiq lsem’z auxt ve okxebbvirj. Vak dub’m wkeny aer pay exzgaqogez.
Pop fbo kdetzih. Asr kues at jzer, ra dehe iel qwolekkul ip zdu bsnaox. Xuju fubg!
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.