Files
project_game/proposal.md
jandrews 7d7d2a71d1 @Chris
I need some help organizing my functions, methods and classes.
I have a card class that returns a card value
I have a dealer file that has a function that deals the first two cards
I'm still a little lost on how this works into the Game class
and how to organize the play.
I want to:
1. deal two cards to each dealer and player
2. hide one of the dealers cards
3. present the user with their cards and let them
choose * hit me OR * stay.
4. If they hit, deal another card to them and calculate if they
went over 21.  If they went over 21 end the game with BUST Dealer WINS!.
If they didn't go over 21, calculate their score and allow the dealer
their turn.
5. If they stay, calculate their score and let the dealer have their turn.
6. Dealer - checks their cards and compares them to the player.  Then
chooses to hit or stay.  Print choice to screen.  If they hit, show the card
to the player.
2025-12-18 10:21:56 -05:00

1.5 KiB

group: indivually game name: quick card games vision for the game and reason for making it:A card game can take a bit to set up sometimes and it isn't always easy to carry a deck of cards around.If it was digital them them you wouldnt need to carry a deck of cards around and worry about losing them. visual appearence:The game will appear similiar to a group of people playing on a table with a deck cards(the draw pile),a dealt amount of cards that vary depending on the game chosen and a table with the cards on it. how the player will interact with the game:The player will choose a card game with a estimated amount of time that the game takes to finish(if possible).Once chosen you can decide to either play with a second player or against the ai so it can be played by yourself.You will then be dealed a set amount of cards depending on the game chosen.You will then select the card to play or draw from the deck. core mechanics:depending on the game chosen your actions will vary but the 2 that are important are selecting your card to play and drawing from the deck.Some games you will play to eithier get the least amount of cards while others will be to have a number within a set range. first goal to achieve:The first step in developing the code is to define the value of each card to make the cards drawn random. challenges:The challenge is going to be creating a code for Ai to allow a single person to play without needing another person to play the game.Another one would be to create a method to prevent another person from being able to see someone else cards.