Texas Hold ‘em style of poker
Budget: $10 – $30 USD
its a miniproject in matlab. its a project for student taking eng06 subject.
Description of Game:
Texas Hold ‘em style of poker. Each player receives two cards and then can decide from the two cards whether to bet or fold. Then after that process, there will be three cards that will be in the center that is called the river, and then you can bet or fold from what those cards are and repeat the process with two more cards that will be given out one at a time. Then at the end, you will show the cards in your hand and then whoever has the best hand wins the pot. This is repeated until everyone but one person runs out of chips/money.
Description of Core features:
Each card needs a unique identifier. This can be used to sort the deck and keep track of which cards have been played. Each card should also have a value where 2 is lowest and ace is highest. Each card also needs a value for the suit. We will create a “deck” as an array or structure that holds all the possible cards.
Card
Unique identifier
faceValue
suit
Jack of Spades
46
11
2
Each player's hand needs several values stored in an array or a structure. The initial value should be based on poker hand rankings. We will have an array of poker hand rankings that we will use to initially rank the hands. For example, let's score a hand with a pair as a 2 and a hand with two pairs as a 3. When comparing the 2 hands, the one with the higher value should win. Beyond that, each player's hand should be ranked based off of the highest applicable card. For example if you have a straight, the highest card in the straight will be recorded. Additionally, the highest suit will be recorded so that they can be compared in the event that both players have similar hands. The above mechanics will be used to compare player hands.
The game itself will include a mechanic to allow the player to “fold” before the river is shown, after the first three river cards are shown, and after each subsequent card in the river is shown up until the last one. Folding will take the player out of that round and they will lose any money they had bet. This will be implemented using a button that can only be activated during the player’s turn.
It will also have a way to randomize the deck after each round starts, and also begin the game with a fully randomized deck to ensure fairness.
Description of Stretch features:
The main component of the stretch features we will be working on is the betting system which doubles as a scoring system. We will try to introduce a money or chip system wherein players can bet on their own hands. If they win the hand the pot balance will be added to their money total. If a player goes negative they are out of the game until it is reset. The amount of money they can bet will not be fixed. For example, everyone might start with $100. Based on this, the minimum bet might be $10. If a player wishes to, they can increase the amount to bet, up until they run out of money. Other players must match this amount if they wish to keep playing.
Additionally, we will work to include a Poker table visual. We will also include animations and sound animations for the cards that move. We will also include money animations and sound animations.
Structures/array for player hands
Structure/array for deck
Hand comparison function
Betting system
Dealing cards in hands/river
Hand comparing function
Ties
Interface design
Assigning button and box properties
Visual and Sound effects
Dealing cards
Betting systems
Remote playing/multiplayer aspects
Help create structures
overall make a app in mat-lab using knowledge of ENG-006. thats all. it a small project. try to add audi or video to games.
Description of Game:
Texas Hold ‘em style of poker. Each player receives two cards and then can decide from the two cards whether to bet or fold. Then after that process, there will be three cards that will be in the center that is called the river, and then you can bet or fold from what those cards are and repeat the process with two more cards that will be given out one at a time. Then at the end, you will show the cards in your hand and then whoever has the best hand wins the pot. This is repeated until everyone but one person runs out of chips/money.
Description of Core features:
Each card needs a unique identifier. This can be used to sort the deck and keep track of which cards have been played. Each card should also have a value where 2 is lowest and ace is highest. Each card also needs a value for the suit. We will create a “deck” as an array or structure that holds all the possible cards.
Card
Unique identifier
faceValue
suit
Jack of Spades
46
11
2
Each player's hand needs several values stored in an array or a structure. The initial value should be based on poker hand rankings. We will have an array of poker hand rankings that we will use to initially rank the hands. For example, let's score a hand with a pair as a 2 and a hand with two pairs as a 3. When comparing the 2 hands, the one with the higher value should win. Beyond that, each player's hand should be ranked based off of the highest applicable card. For example if you have a straight, the highest card in the straight will be recorded. Additionally, the highest suit will be recorded so that they can be compared in the event that both players have similar hands. The above mechanics will be used to compare player hands.
The game itself will include a mechanic to allow the player to “fold” before the river is shown, after the first three river cards are shown, and after each subsequent card in the river is shown up until the last one. Folding will take the player out of that round and they will lose any money they had bet. This will be implemented using a button that can only be activated during the player’s turn.
It will also have a way to randomize the deck after each round starts, and also begin the game with a fully randomized deck to ensure fairness.
Description of Stretch features:
The main component of the stretch features we will be working on is the betting system which doubles as a scoring system. We will try to introduce a money or chip system wherein players can bet on their own hands. If they win the hand the pot balance will be added to their money total. If a player goes negative they are out of the game until it is reset. The amount of money they can bet will not be fixed. For example, everyone might start with $100. Based on this, the minimum bet might be $10. If a player wishes to, they can increase the amount to bet, up until they run out of money. Other players must match this amount if they wish to keep playing.
Additionally, we will work to include a Poker table visual. We will also include animations and sound animations for the cards that move. We will also include money animations and sound animations.
Structures/array for player hands
Structure/array for deck
Hand comparison function
Betting system
Dealing cards in hands/river
Hand comparing function
Ties
Interface design
Assigning button and box properties
Visual and Sound effects
Dealing cards
Betting systems
Remote playing/multiplayer aspects
Help create structures
overall make a app in mat-lab using knowledge of ENG-006. thats all. it a small project. try to add audi or video to games.