C++ Learning Community Forum
August 01, 2010, 03:00:49 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Evolving AI Program  (Read 1094 times)
Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« on: September 07, 2009, 08:42:34 PM »

Yay I just finished my first ever embedded scripting language. Or at least I think it's an embedded scripting language Cheesy

Anyway, in my everlasting quest for an perfect ALife simulator, I made this as a side-thingy while I was testing some Scripting language ideas. All it is is a Console-based Tic-Tac-Toe game with usually about 70-80 programs that form the environment that you play against in order to evolve 'smarter' programs.

It's all embedded so you can't edit anything, but you can write all programs to a file. I forget right now if .exes even work on Linux/Unix machines, but if you run it on there you will need to resize the console window in order to see everything.

D/L: http://www.filefront.com/14484973/Tic-Tac-AI.rar/
Logged

ih8censorship
Megalomaniac!!!
Administrator
C++ guru
*****
Posts: 1236



View Profile
« Reply #1 on: September 07, 2009, 09:04:32 PM »

Have you seen "wargames" lately? haha. Thats what this reminds me of.
Logged

PC==perfect_companion

Knowledge cannot come packaged and predigested; it must be chewed over carefully before swallowed.

What have you tried?
Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #2 on: September 07, 2009, 09:10:28 PM »

I watched the new one a while ago, lol. That's not what inspired me, though Tongue
Logged

Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #3 on: September 07, 2009, 09:39:32 PM »

FIxed a mjaor bug: http://www.filefront.com/14485647/T-T-T%20AI%20v2.rar
Logged

Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #4 on: September 07, 2009, 11:42:09 PM »

Fixed more minor bugs: http://www.filefront.com/14486645/T-T-T%20v4.rar

Should be totally bug-free now.

EDIT: Fixed for realz now.
« Last Edit: September 08, 2009, 12:05:41 AM by Seismosaur » Logged

Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #5 on: September 13, 2009, 07:03:23 PM »

Here's the final version with the trainer program: http://www.filefront.com/14525855/T-T-T%20AI%20Final%20Version.rar

The trainer pits program against program, and you can already see winning patterns showing up in the current population when you play.
Logged

Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #6 on: September 16, 2009, 12:22:49 AM »

Further improvements: http://www.filefront.com/14539903/T-T-T%20v32.rar
Logged

oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #7 on: September 16, 2009, 01:40:49 AM »

nice improvements Smiley i like.
Logged
Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #8 on: September 16, 2009, 01:48:01 AM »

Thanks.

Have you been beaten by the AI yet, though? Cheesy
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!