OlegJakovlev / LincolnCardGame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deck of Cards

This project is part of OOP module assignment. The main objective was to simulates card game called Lincoln, while using OOP patterns and different testing approaches.

Rules

Each from 2 players gets 10 cards from deck. Each card have it value from 2 up to 14. Players takes moves by playing 1 card each (2 in total). Player with highes sum of card values wins the round and makes move first on the next round.

If totals are the same, continue to the next hand. Winner of that gets both rounds.

If the number of hand wins are the same, draw a random card from the remaining cards - highest wins.

If the final hands are the same value, draw a random card from the remaining cards - highest wins the hand.

Player with highest number of hand wins, wins the game.

About


Languages

Language:C# 100.0%