SteamedPears / 3004-SevenWonders

Seven Wonders project for 3004
1 stars 1 forks source link

Special abilities can't be used #109

Closed spratt closed 11 years ago

spratt commented 11 years ago

Currently there's no interface elements for the special abilities.

Gankra commented 11 years ago

Some are command types, others are just implicit in how you play. If you try to play the last card, that's double play. Otherwise you would use PLAY_FREE or UNDISCARD in place of PLAY or DISCARD.

spratt commented 11 years ago

Is there a nice way to do this without adding special cases throughout the interface? It seems like I just have to write things like if(TURN == LAST && PLAYER.WONDER == HALIKARNASSOS) ... all over.

Gankra commented 11 years ago

Special abilities/cases:

Gankra commented 11 years ago

Recommend splitting these into separate issues assigned to iteration 2.

spratt commented 11 years ago

I think copy guild we do automagically now. Trades are implemented. Remaining:

spratt commented 11 years ago

Play Free is done. Undiscard is done. I've come this far without adding special cases.

spratt commented 11 years ago

Feels good, man.