Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 827 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 827 Bytes

Intro to Ruby and Programming

Project

Build a simple card game

Requirements

Create classes for common objects in a card game. Include Card, Deck, Player, and a GameEngine. When you run the game the program will ask for a number of players and request each player's name. It will then create a deck of standard 52 cards, arranged by rank and suit. The suits are Clubs Diamonds Hearts Spades (lowest to highest value) and the ranks are 2 3 4 5 6 7 8 9 10 Jack Queen King Ace (lowest to highest).

Shuffle the deck, deal each player one card, and then compare the cards. The player with the highest card wins!

Extra Credit

  • Add support for player's to have more than one card

NOTE

The master branch contains the project "starter files". If you want to jump to the end, check out the "final-files" branch.