
Gencard¶
This is a multiplayer competing card game, which has which has a variety combination of multiple natural elements and a unique turn mechanism. The turn-based system of this card game is rather unique. The game is divided into two phases - the placement phase and the settlement phase.
I was one of the two programmer, and was responseble for the placement phase and card deck system.
Contribution¶
Phase Alternation¶
When the game is in the Placement Phase, only when both players are unable to continue placing cards, it will enter the Attacking Phase, and the game will switch back to the Placement Phase after the attacking is over. When the game switches back to the Placement Phase, a certain card will be added to both players' decks.
Turn Mechanism¶
The turn-based system of this card game is rather unique. The placement phase only lasts until both players are unable to continue placing cards. When a player chooses to end placing card, it does not switch to the Attacking Phase, but instead switches to another player for card placement. If a player does not place a card during the Placement Phase, the game will only enter the Attack Phase when it switches to another player and the other player does not place a card either.
Card Deck System¶
When the game begins, players are provided with three hero cards, Water, Fire, and Ice, and two Goblin cards. These cards are kept in the hand and players are free to drag and drop them onto the field until the game enters the Attacking Phase.
Other Contribution¶
When a player's mouse hovers over the card in their deck, the card will move out and the cards on either side will move a distance to either side to display the card more easily. To make the animation smoother, I used interpolation algorithm to calculate the movement of those cards.