Game game = new Game();
// Earn some gold
game.earnGold(200);
// Buy an upgrade
game.buyUpgrade("Upgrade");
// Buy an invention
game.buyInvention("Invention");
// Upgrade the character
game.upgradeCharacter("Character");
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter