Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / More AI :)

Author
Message
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 18th Mar 2004 21:01
Ok, i have been making games 4 a while now and want to try somthing a little more compilcated.

i have decided to make a simple game based on the card game 'YU-GI-OH'

if u have any suggestions for how i should program the AI i would be most gratefull.

It's Not The Cards Your Dealt , It's How U Play Them
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 19th Mar 2004 01:06 Edited at: 19th Mar 2004 01:08
1. AI burns his cards and laughs at player one.
2. AI reboots the machine.

Sorry, I couldn't resist. Yu-gi-oh and other other collectable card games are extrememly complex due to the thousands if not millions of possible card combos, decks and plays.

Wow, I'm not even sure where to point you at to begin with. Try this, grab a deck and start playing out cards. As you play, right down the 'rules' that led to that decision. By rules, I don't mean rules of the game (also required*) but the logic that drove you make that play. Repeat until you can play like a robot, always following those rules. After several hundred (thousand?) plays, you'll have enough data to begin building a Yu-gi-oh AI.

Amit's has a bunch of articles on AI, perhaps you can find something there to help. NOTE: this is not a Dark Basic site. You will have to take the ideas learned there and apply them to your program.

http://www-cs-students.stanford.edu/~amitp/gameprog.html
--
TAZ

* My son tried to teach me to play. Fizbin was easier to learn.

Login to post a reply

Server time is: 2025-05-22 21:54:20
Your offset time is: 2025-05-22 21:54:20