FreeOrion

Forums for the FreeOrion project
It is currently Mon Dec 18, 2017 6:34 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jan 19, 2009 10:53 am 
Offline
Space Floater

Joined: Sun Sep 28, 2008 3:05 pm
Posts: 31
Location: Horten, Norway
Had some free time this weekend so I started looking into AI related stuff, for simplicity solving the Tic-Tac-Toe game. It plays quite well, but makes some surprizing choises...

Code is not very optimized, and the AI and Evaluate functions can be changed to play the specific game better, but I've purposely left that out. I might tweak it into playing some "Space Combat" scenarios later on.

Enjoy. Please comment, or be horrified of, my rather ancient C++ knowledge - as I'm an ANSI C and perl guy :)


M.


Attachments:
tictactoe-0.01.tgz [1.97 KiB]
Downloaded 96 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: AhrefsBot and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group