Elevens is a solitaire card game using a standard 52-card deck, with the goal of removing pairs of cards that add to eleven. Odds of winning are slightly better than 1 in 10. So, in inspiration, I have created a brand new game called Thirteens. The game Thirteens has the the goal of removing cards that add to thirteen. Unlike Elevens, this game has new, different rules and increases the odds of winning that are slightly better than 5 in 10.
What is Elevens?
• Nine cards are dealt ("on the board") at a time
• Cards have the following values:
• Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10 have a point value of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
• Jack, queen, and king have no point value. • Cards can be removed from the board if: • Two cards' values sum to 11 (e.g. 4 and 7, or Ace and 10) • Three face cards are showing, and they are a jack, a queen, and a king • Cards that have been removed from the board are replaced (dealt) from the deck – if you make it through the entire deck, you win. If there are no more legal moves on the board, you lose.
What is Thirteens?
A Brand New Game Based On Elevens • Uses a 10-card board • A, 2 … 10, J, Q correspond to the point values of 1, 2 … 10, 11, 12. • Pairs of cards with point values that add up to 13 can be selected and removed • A king can be selected and removed individually
Challenges I ran into
Throughout the project, there were minor challenges that I faced to create the best possible experience for the user. For example, it was difficult to make the game appealing for the user in regards to picking the colors, simulating a mouse click, and more. However, the major challenge that I faced was to make the code efficient in every way.