Hey, what’s up!
Ok, I can’t believe I uploaded the game without addressing these few functions! Ha! I guess I was so excited (:
Anyway, here’s what’s “new”:
- You can no longer start a round without placing a bet (doh!)
- Dealer’s second card is hidden until it’s the dealer’s turn (I had his hand fully revealed while testing and forgot to hide its second card)
- Added self-promotion on intro screen (of course!)
I’ve also been exploring minifiying JavaScript files and combining them into one file, and found UglifyJS.
UglifyJS can be run as a command-line tool, and it can accept a list of all the files you want to combine. I tried combining the Phaser JS file, but was having problems. So I ended up combining only my own source files, as well as the files generated by the Phaser Editor canvas compiler.
On the page that hosts the game, it no longer loads a bunch of JS files (currently 44 files), but just two files: the Phaser source file, and a minified Thunderjack! source file.
You can play the game here.
That’s all for now guys. Take care.
– C. out.