Page 1 of 1

Eternal Dragon and why php sucks

PostPosted: 21 Aug 2009, 17:50
by mtgrares
While ago I was really badly beaten by Eternal Dragon and now since MTG Forge supports flashback I can add it. I'll have to hack plainscycling since we haven't added that yet. I'll try to make my code generic so you can use it for the other landcycling like swampcycling

Re: Eternal Dragon

PostPosted: 21 Aug 2009, 18:11
by Chris H.
mtgrares wrote:While ago I was really badly beaten by Eternal Dragon and now since MTG Forge supports flashback I can add it. I'll have to hack plainscycling since we haven't added that yet. I'll try to make my code generic so you can use it for the other landcycling like swampcycling
If I remember correctly, Dennis tried to turn Flashback:{cost} into a keyword and was not successful. There are several cards in cards.txt that appear to have Flashback:{cost} as a keyword but this is not functional the last time that I checked.

The cards with Flashback work, you will have to find the associated code with these cards and do a copy/paste. :)

Re: Eternal Dragon

PostPosted: 28 Aug 2009, 18:40
by mtgrares
Needless to say I haven't coded squat, I've been busy on a different project. Hopefully I'll mention in a week or two I'll announce a new website that lets you search and submit your own cooking recipes. It is not very exciting but it will be nice once it gets working, go PHP. (Yes I am learning PHP on the fly and I hope that "magic quotes" don't bite me in the butt.)

The definition of an expert is someone who has experienced all of the failures in a narrow field, like me and php. I generate ALOT of error messages, I really miss the compiler catching syntax and data type errors. Dynamic language my @ss.

By the way I can't cook at all.

Re: Eternal Dragon and why php sucks

PostPosted: 29 Aug 2009, 17:42
by silly freak
hah, did a lot of php this summer, too. in the end, I started using '$' in java and forgetting to cast variables. I think the same about type safety, though you become used to the traps with a little experience.

have fun while exploring a new language ;)