It is supposed to be a somewhat prodigy to the famous Yu Gi Oh francise except, not only with Yu Gi Oh cards. Some may be bleach and mixed with other animes, it depends. Although i am a beginner Coder and i have been starting on it.
So far i have 10+ cards, a small testing map, (grass,water)a Stat panel, inventory tab,actions tab,commands tab, options tab and Staff tab. I also added a Duel verb..the duel verb is a basic input in which when your dueling an online opponet, it freezes you, but allows you to execute actions, you will find this in almost any Yu Gi Oh game on byond.
Although along with the freeze effect, there is an effect that pushes the screen forward, which is very interesting. Anyways, i need help on creating certain things, such as when players are dueling they get to use the whole field to their advantage..so far when players play a card, it flies out in front of them only,
Here is a small look at the coding i made.
var
Duel=""
mob/var
frozen
mob/Move()
if(!frozen)
return..()
mob/verb //Verb that begins the game.
Duel()
Duel=input("Do you want to duel?","Duel Choice") in list("yes","no")
StartDuel()
proc
StartDuel()//Starts a new game and picks the person to be "it" for the corrosponding game
switch(Duel)
if("yes")
world << " [usr] is starting a duel!" e
usr.frozen=1 //Immobilizes it
if("no")
return
proc/Shuffle(list/deck)
for(var/i=deck.len,i>1,--i)
deck.Swap(i, rand(1,i))
There are very few errors, the main one is that when you start the duel or use the duel verb, you cant unfreeze your self, and would have to relog[Etc.] that is one thing i need help on, the other thing is the Field playing, as i said before players can only play cards in one direction, which is forward, and the card is able to be walked on and picked up as an item, here is the code i used
obj/Cards
verb
Get()
set category="Commands"
set src in oview(1)
src.Move(usr)
usr << "You pickup [src]!"
Drop()
set category="Commands"
set src in usr
src.Move(usr.loc)
usr << "You drop [src]"
Please, i need alot of help, you can contact me at [email protected] ^_^, please read and bring to your fullest attentions
----------------------------------------------------------
----------------------------------------------------------