How to avoid bugs in programming

For ideas and suggestions about the game and cards.

Moderator: English Administrators

Post Reply
User avatar
Cat_Wachter
RANK_VENERABLE
Posts: 657
Joined: 08 October 2013, 17:34

How to avoid bugs in programming

Post by Cat_Wachter »

Just learn from the big (wizard, who invented card games with creature). ;)

The System has a stack order. This avoids that effects trigger two times (or even more). It also is important for trigger to trigger in the right order. It is no problem, that magic uses mana and many creatures and eredan does not use mana and only 3 fix creatures, because the problem to deal with the trigger order is the same in bouth games.

Most bugs with bonus on status-values and most bugs which leads to double damage or double heal may depend on the lack of an clean programmed stack oder or if there is such a system a bad implementment of new cards or reedited new effects into that system.

So learn from the big card games and use a stack order system and implement the cards clean in the stack order system. This should avoid most bugs.

http://www.essentialmagic.com/articles/thestack.asp

or explanation as video:
https://www.youtube.com/watch?v=k-9k5pf9Uc8

Also always search for all the old cards with that name (including collecters edition) and connect them with the new in the right way. Bugs that still happen:
- old and new card have different loads [like actual old 10 loads and new 9 loads]
- old cards cant be played [like old version lv 4 ice border]
- old and new cards can be played doubled = like same char 2 times / same other cards 6 times
- collecters edition of a rare card / legend card does not count for the new Quilingo limitations [/ / ] (this one might be tricky, but has to be fixed)
/\_/\
>^,^<
-/ \
(__)__,
Al hail and glory to the Zil, the living Shadow and the Circus!

PS.: Right now I'm only on for calendar. Not playing activ.
We lost the balance too bad since the damned sacred cards.
User avatar
Wolvos
RANK_IMMORTEL
Posts: 6173
Joined: 04 February 2013, 17:01
Location: da world

Re: How to avoid bugs in programming

Post by Wolvos »

i think this isnt the problem, they fix the bugs or some of them and i think they are aware of them, but they lack of time to do it

you said it, it is the same bug over and over, then what is the problem? i think it isnt bad programming
My (outdated) decks

create a new post if you want to communicate with me, DONT SEND PMs!!!!

CURRENT STATUS: OFFLINE / NOT MODERATING
Mr. Zub
RANK_GUEMELITE
Posts: 240
Joined: 05 February 2013, 19:23

Re: How to avoid bugs in programming

Post by Mr. Zub »

It is not a problem until there are more than 3 cards in play from each side. So Stack system actually may be good in such cases.
User avatar
GriefStone
RANK_GUEMELITE
Posts: 165
Joined: 03 January 2015, 19:47
Location: Berlin

Re: How to avoid bugs in programming

Post by GriefStone »

But wouldn't that mean, that we must have the ability as players to decide the order of effects, that are already attached? Even order bonuses would have to be considered, which means that at some point priority could change to the opponent. Does that mean, that he/she can add, in response to his or hers OB, cardeffects/triggers currently in play.
Another issue with such a system is the interaction after an effect resolves. Because normally a chase/stack/chain allows the players to interact.
Or maybe i just miss the point? ^^;
Looking for a new Pauper Eredan (Copper/Copper&Silver) and/or Titan deck (50 cards singleton) playgroup! If you are interested just PM me. ^^

Suche nach einer neuen Pauper Eredan (Kupfer/Kupfer&Silber) und/oder Titan deck (50 Karten je eine Kopie) Spielgruppe! Wer Interesse hat, schreibt mir einfach eine PM. ^^
Post Reply

Return to “Suggestions”