Hacker News new | ask | show | jobs
by jbarrow 4323 days ago
If you're interested in this kind of thing and want a gentle introduction, I highly recommend CodeCombat [1], which offers both a single player version for learning the system and a multiplayer version for writing AI code.

[1] http://codecombat.com

4 comments

I might have accidentally downvoted your comment, sorry about that :(
Can you recommend other resources and reading materials other than this? I would like more on top of the provided links thank you. OP's url have got me interested in AI now, but mainly for solving puzzles like this.
What you're asking for is actually pretty broad. A lot of CodeCombat can be played with traditional Game AI strategies to try and defeat the opponent. It's one subfields of AI I've done very little research in, so take what I say with a grain of salt, but it's my understanding that the best resources for learning Game AI are actual books on the subject. I would love for someone to prove me wrong, but I don't remember too many great online sources when I was trying to learn the it.

Before you start reading about different AI tactics, I would recommend just going through CodeCombat and trying out some of your own strategies. You'll get a much more intuitive sense for why things work, as well as how you would apply different strategies to your particular game.

Some years ago I really enjoyed this book:

Programming Game AI by Example http://www.ai-junkie.com/books/toc_pgaibe.html

Thanks for the +1 jbarrow, appreciate it!
codecombat is awful. Lags a lot, has a bad UI and a lot of bugs.
Hey nnoitra, CodeCombat founder here. Sorry that we've treated you so poorly. I'd love to know more about your experience, namely what browser are you using, what's your internet connection like, how is your computer, and a few more. Shoot me a line at george@codecombat.com!