Advertisement Jump to content
Sign in to follow this  
Aviv Cohn

Game AI: Where to start?

This topic is 1808 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all :)
 
I'm new to programming game AIs. The most 'advanced' (and only) AI I created yet was composed of several if-else statements.
I don't know any techniques or anything. Complete beginner to AI in games.
 
(However my ability in general 2D game development, apart from AI, is intermediate).
 
I would like to know: Where would be a good place to start studying game AI?
 
I'm looking for a good source to start for absoulte beginners, one that teaches all the necessary beginner knowledge in the right order.
In the long run I hope to become a good game AI developer, so it's important to me to get off on the right foot, with a good starting point.
 
Could you please direct me to some site? Or a book? Please explain why you recommend it.
 
Thank you
Edited by AvivC

Share this post


Link to post
Share on other sites
Advertisement

Take your favorite board game or puzzle game (chess, queens, chinese checkers... tetris, puyo puyo...).

 

Implement it in your favorite language for 2 human players. Be sure you separated properly the data structure and the display code. Be sure you separated the player controls into an independant class.

 

Then try to rewrite your player control class by an efficient AI class. Your AI must play the game by only looking to the game datas. Your experience in playing the game is important (heuristics).

 

Ideally, you must be able to switch easily between a player control class and an AI control class (run games like human VS human, human VS AI and AI VS AI).

 

Doing that, you will learn a lot of things.

Share this post


Link to post
Share on other sites

There's a pinned thread at the top of this forum with plenty of good resources. I'd suggest starting there.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!