Created
December 9, 2015 00:27
-
-
Save franksands/50477adb300929493b7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var heroName = "Elsa"; | |
var heroHealth = 50; | |
var heroMagicPoints = 80; | |
var heroAttack = "Axe"; | |
var monsterName = "Goblin"; | |
var monsterHealth = 20; | |
var monsterMagicPoints = 0; | |
var monsterAttack = "Dagger"; | |
print(heroName + " has " + heroHealth + " hit points"); | |
print(monsterName + " has " + monsterHealth + " hit points"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment