I did my best to make a card game for school assignments and hobby game production, so I decided to drop it. The game I made this time is a card game called Black Poker. Some of the people who have seen the tag "Hey, isn't it a card game even though it has a TCG tag?" I think some people thought that. However, although this game does not have trading elements, it is a game packed with recent TCG elements of building a deck and attacking each other with cards drawn from the deck.
It is a turn-based TCG-style card game that uses one set of cards for each person. (Quoted from the official website) Each other cuts the deck well. Turn one from the top of the deck, and the one with the larger number / mark will be the first player. Draw 7 cards from each other's deck. The turn player draws a card from the deck and does the following: ① Take 1 point of damage and place the card face down from your hand (Turn 1) ② Take 1 point of damage, turn the face down card sideways, and put the card face up from your hand (Turn 1) ③ Select n of your own face-up cards and attack (with summoning sickness) The attacked player blocks or takes damage with the cards in the field.
The damaged player sends n cards from the deck to the graveyard. Players who run out of decks lose the game.
Although it is server-side development, we will set aside communication etc. and first create the main body that operates on the console.
I designed the following
A Card object corresponding to each card of playing cards is generated, and the Player moves the Cards in the member.
I'm tired, so this time it's up to here. Next time I will write a card class.
Please refer to the program as it is also placed on GitHub. Black_Poker4j
Recommended Posts