|
Post by Square Bear on May 1, 2006 13:41:10 GMT
I've coded a blackjack game in AIML. Just upload it to your bot, re-publish and say "Blackjack" to begin playing. It's a little complicated given the fact that AIML cannot do addition, subtraction or even count and so was a bit of a challenge to code. However, I've commented every category if you wish to see how the code works. The only thing you may want to customise is the amount the player starts off with in the bank. To do this change <set name="coins">50</set> in the first category to any number you like up to a maximum of 250. It's currently a work in progress, so is subject to change: www.square-bear.co.uk/aiml/blackjack.aimlI think I've ironed out any bugs but if you spot any please let me know. Any feedback or suggestions greatfully accepted. Enjoy!
|
|