Jump to content


Photo

Artificial Intelligent by PHP


  • Please log in to reply
4 replies to this topic

#1 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 18 July 2006 - 02:47 AM

I know it's not the best language to deal with AI, but has anybody done it?
I'd like to write a Chinese Chess AI in PHP.  If you don't know chinese chess, it's very similar to chess.
Life's too short for arguing.

#2 extrovertive

extrovertive
  • Members
  • PipPipPip
  • Advanced Member
  • 235 posts

Posted 18 July 2006 - 07:04 AM

Is it something that can be played on a browser?

Well, you gotta store the moves and stuff. Will the data be stored in a flat-file or relational database?

Go to phpclasses.org, there's a Genetic Algorithm, which is AI.

#3 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 18 July 2006 - 11:34 AM

yes, i was thinking it'll store in db due to the size of the number of moves.
thanks for the pointer. i'll check it out
Life's too short for arguing.

#4 KefkaIIV

KefkaIIV
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 19 July 2006 - 04:26 PM

I am new to PHP, but all I know is people usually use C++ for making things like that?
It'd be interesting if you could make it with PHP. I'd like to learn how then.

Click the below banner to earn money for participating in surveys!


#5 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 20 July 2006 - 05:10 AM

same thing here, if you know of it anyhow, please let me know as well.

Life's too short for arguing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users