Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Old Game Discussion »
  • yugioh a.i. stuff
« previous next »
  • Print
Pages: 1 [2]

Author Topic: yugioh a.i. stuff  (Read 4673 times)

Offline Bart_Fatima

  • The Legendary Pirate of Charas
  • Zealot
  • *
  • Posts: 775
  • Come on Already, The Game's almost over!!
(No subject)
« Reply #15 on: November 23, 2004, 02:30:46 AM »
hm...a yugioh game, sorry but the show sucks so you are going to have to try really really hard to be able to impress some people because alot of people don't care for Yugioh or fangames
 Good Luck You'll need it...
 Oh hand we don't hate people here, or call each other Fags
If you call someone that you are going to have to earn their respect back

 Repeats self: Good Luck
Logged

Offline nick912012

  • Member
  • Initiate
  • *
  • Posts: 29
(No subject)
« Reply #16 on: November 23, 2004, 02:33:50 AM »
umm thx this game is kinda hard to make soo its gonna have more storyline then dueling or whatever i do...currently right now im makin a card face down and why did they have to make the design wierd.
Logged

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #17 on: November 23, 2004, 02:41:57 AM »
An AI for a YuGiOh game? That is doable, but you'd need to use endless variables and switches to do it.

Basically, you'd have to assign a number to each card played. When a player draws a card, it would set it to a variable. The script would generate a random number based on the variable, and the AI would select a card based on the random variable. This is probably similar to how they do it in the real games.

This is easier said than done; it would take at least 3 hours to code all of them, and that's if you get the code right on the first time. Like I said before, you'd need a ton of variables and switches (and a lot of spare time to kill).

My verdict: Plausible, but nearly impossible.

EDIT: Don't ask me to do it. I have other things to do than waste a day to program a script that'll never get played.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline nick912012

  • Member
  • Initiate
  • *
  • Posts: 29
(No subject)
« Reply #18 on: November 23, 2004, 02:49:16 AM »
thx ill try to do it
anyways i want to do the most of it by myself all this post was for is for someone to tell me how to do it.
Logged

Offline Ace of Spades

  • Photobucket</li>
								<li class=Leader
  • *
  • Posts: 2,137
(No subject)
« Reply #19 on: November 23, 2004, 02:55:58 AM »
Good luck! You'll definately need it... ;)
Logged
Photobucket - Video and Image Hosting

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #20 on: November 23, 2004, 03:02:49 AM »
But I must say that a card dueling game in RM2K3 does intrigue me. Me and my friends decided that the YuGiOh system would be cool to do, but YuGiOh itself sucks (no offense). Depending on how I feel, I might be able to help you if you come across something you can't do.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline Osmose

  • So freakin' inactive
  • Royal
  • *
  • Posts: 3,041
(No subject)
« Reply #21 on: November 23, 2004, 03:09:33 AM »
THE FOLLOWING IS NOT APPLICIBLE TO RPGMAKER, JUST ME RAMBLING.

A little more strategy is involved, though. For example, say you wanted an opponent to wait until he can use a Change of Heart to use the player's monster to summon his own.

But this was just one of many strategies. First you'd have to archive all possible strategies you want the computer to use. This could, technically, be done with an array that holds strings that identify the moves to be done. A variable holding the computer's current strategy would take values from this array based on what cards the player has out, and what cards it has(along with graveyard cards, environment cards, etc.)

This could all basically be put in a value-based system, with some cards taking more value than others, considering the opponents personal tastes. Bakura, for example, has an aversion to the Change of Heart card. I'm not exactly sure, but let's say his favorite monster is Swordstalker, which requires one tribute.
These two would take a higher value, and running them through a complicated algorithm would output the place in the array where the strategy for this is stored, which would be using Change of Heart to sacrafice the player's monster for Swordstalker.

So now we've gotten to where he has the strategy. At this point an entirely seperate system would boot up, the actual system that executes the move. Let's say it's the string "ChngHrt(targ)+sacr(targ)->SwdStlk" Very abbreviated.

We start with ChngHrt, which represents the Change of Heart card. Seeing this in the string would cause the algorithm to try and achieve this card first. After it has it, it searches the string for any other cards, and finds SwdStlk, or Swordstalker. Once it finds this, it starts the actual move in the string.

First it will use Change of Heart on an opponents monster, called targ. Then it will sacrafie targ to summon Swordstalker.

This is a very limited system, with a lot of flaws. But IMO it's realistic enough to be put in a game.
Logged
Hrm.

  • Print
Pages: 1 [2]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Old Game Discussion »
  • yugioh a.i. stuff
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum