Git Card Game: Playing a ‘touch’ card (u.git-card-game-02)

Version: V1.1, 12.08.2022, Improve format
Author: Ilijaz Mehmedovic, Leon Hofmeister

Description

The player plays a touch card.

A nano card is also considered a touch card.

Precondition

It’s the player’s turn. The player has a touch card in his stack.

Postcondition

a new file got added with the name on the card. The player’s score increased by 1. The touch card gets moved from the players stack to the middle stack.

Typical procedure

  1. The player selects the touch card

  2. a new file got added with the name of the card

  3. The player’s score increases by 1

  4. The touch card gets added to the middle stack

  5. The touch card gets removed from the player’s stack and the game continues

Alternative procedures

5.1. The player has no cards left on his stack
5.2. The player’s turn ends

Criticality

High

Linkages