Skip to content

Instantly share code, notes, and snippets.

@franksands
Created December 9, 2015 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franksands/e2ceaed02117319de3e3 to your computer and use it in GitHub Desktop.
Save franksands/e2ceaed02117319de3e3 to your computer and use it in GitHub Desktop.
var monsterName = ["Goblin", "Dragon", "Orc"];
var monsterHealth = [20, 300, 40];
var monsterMagicPoints = [0, 200, 0];
var monsterAttack = ["Dagger", "Fireball", "Sword"];
print(monsterName[0] + " has " + monsterHealth[0] + " hit points");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment