Term Project: Poker Game

Slides:



Advertisements
Similar presentations
Counting and Gambling Section 4Objectives: Understand how to use the fundamental counting principle to analyze counting problems that occur in gambling.
Advertisements

Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterms 2.Flushes 3.Hellmuth vs. Farha 4.Worst possible beat 5.Jackpot.
Implementing the Poker Game in Jess Vanmoerkerke Frederik Project APLAI.
Mock Objects. Unit-testing and TDD are challenging They require some effort to: – Write a test for a small functionality – Refactor production code and.
DM. 13. A method for counting outcomes of multi-stage processes If you want to perform a series of tasks and the first task can be done in (a) ways, the.
CSE 332: Lab 6 overview Overview of Lab 6 Your Lab 6 program will –Correct a glitch in the lab 5 specification Use exceptions only for abnormal flow control.
Dealer Comm Hand Player makes Ante bet and optional Bonus bet. Five cards are dealt to each player from the shuffler. Five cards are dealt from the shuffler.
Counting (Combinatorics) 1.
Discrete Mathematics Lecture 7 More Probability and Counting Harper Langston New York University.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Intro to Probability & Games
Pusoy AI Nelson Monterroso David Patierno Patrick Mariano Shane Watson pusoyai.com.
VOCABULARY  Deck or pack  Suit  Hearts  Clubs  Diamonds  Spades  Dealer  Shuffle  Pick up  Rank  Draw  Set  Joker  Jack 
1 The game of poker You are given 5 cards (this is 5-card stud poker) The goal is to obtain the best hand you can The possible poker hands are (in increasing.
The Parameterized Poker Squares EAAI NSG Challenge
Poker UML and ADT design plan.
Game Rules Rules define game objects and define allowable actions by the players.
Paigow Training Hai J Shen International Association of Certified Surveillance Professionals.
Poker Solutions.
Game Rules Rules define game objects and define allowable actions by the players.
Basic Counting Lecture 12: Oct 28. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations,
3.8 Counting Techniques: Combinations. If you are dealt a hand in poker (5 cards), does it matter in which order the cards are dealt to you? A  K  J.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Tulsa.NET User Group INTRO TO OBJECT ORIENTED PROGRAMMING.
Probability Permutations and Combinations.  Permutations are known as any arrangement of distinct objects in a particular _________. Permutations order.
Basic Probability Section 7.1. Definitions Sample Space: The set of all possible outcomes in a given experiment or situation Often denoted by S Event:
Using Tree Diagrams to Represent a Sample Space. Imagine that a family decides to play a game each night. They all agree to use a tetrahedral die (i.e.,
Assignment 1. p2. 1. In a classical card game, we get 5 cards from a deck of 52. Find the probabilities of: (a) 1-pair (b) 2-pair (c) 3-of-a-kind (d)
MA471 Fall 2003 Lecture 2. On With The Games Today we are going to watch each group play a couple of rounds of cards. We will go through the game slowly.
All In To put all the rest of your money into the pot.
Games We Play By James Ramdeo 8.2 STEM Club. Factors and Multiples is a game that can be played against one of friends. In this game you start with any.
Game Procedures Who does what, where, when, and how?
CS Lecture 8 Developing Your Counting Muscles.
© 2014 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™ Game Art and Design Unit 3 Lesson 3 Procedure.
By: John Cook 11/06/2009 PTTE John Cook 3/4/2016.
Introduction to the DE0 Board Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Computer Logic Design.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Expected value. 2.Heads up with AA. 3.Heads up with Gus vs.
Probability and statistics - overview Introduction Basics of probability theory Events, probability, different types of probability Random variable, probability.
Texas Holdem A Poker Variant vs. Flop TurnRiver. How to Play Everyone is dealt 2 cards face down (Hole Cards) 5 Community Cards Best 5-Card Hand Wins.
Probability Intro. Coin toss u Toss two coins 10 times keeping track of the results (head/tails) u Now toss 3 coins 10 times u Make a chart of all the.
MAT 142 Lecture Video Series
Discrete Mathematics Lecture 8 Probability and Counting
Ionic Poker.
Who does what, where, when, and how?
Sequential Placement Optimization Games: Poker Squares, Word Squares, and Take It Easy! Todd W. Neller Abstract: In this talk, we teach how to play “Poker.
MATHS 24 MATHS MATHS 24 MATHS 24 GAME RULES:
Simple Probability Things to know and do:
Chapter 10: Counting Methods
THE TEXAS HOLD’EM.
Game Art and Design Unit 3 Lesson 3 Procedure and Rules
Object of the game Yahtzee Large straight Small straight Full house
The Birds of a Feather Research Challenge
Game Art and Design Unit 3 Lesson 3 Procedures and Rules
The Parameterized Poker Squares EAAI NSG Challenge
Probability of casino games
ETEAMS Common Planning September 2016
Mathematics for Computer Science MIT 6.042J/18.062J
Symbol Bingo The Rules: No False Shouting out Bingo or Line
Object of the game Yahtzee Large straight Small straight Full house
Basic Counting Lecture 9: Nov 5, 6.
Counting II: Recurring Problems And Correspondences
Combinations.
Strike it out.
Lab 1. Introduction to the DE2 Board
Transition Maths Try these maths problem solving tasks and see how good your maths skills are.
Rooms of a House “Where is it?” Game.
Tic-Tac-Toe Game Engine
Object of the game Yahtzee Large straight Small straight Full house
Object of the game Yahtzee Large straight Small straight Full house
Presentation transcript:

Term Project: Poker Game Introduction to Digital System and Microprocessor Design DICE Lab. Creative IT Engineering May 2, 2017 1/8

Simple Poker Game Simple Poker Game Card (No information of suit) 4 Same Cards for each number Poker Hand Ranking (6 kinds) One Pair, Two Pair, Three of a kind, Straight, Full House, Four of a kind 2 individual cards & 3 common cards Using I/O : Button Switch, Bus Switch, LED, 7-Segment Games with computer on 1 FPGA Board 2/8

Game Rule Game Rule Push ‘RESET’ button Open 7 cards by pushing ‘DEBUG OPEN’ or ‘RANDOM OPEN’ button Open one card by push one button Judge the game by pushing ‘JUDGE’ button Show only the winner’s cards DRAW case: show all the players’ cards If push ‘OPPONENT’S STATUS’ button, show opponent’s poker hand ranking. Case: 2 card for user, 3 card for common, 1 card for opponent are opened Show the status of poker hand ranking with 4 cards for opponent Poker Hand Ranking Four of a kind : 4 cards have same number Full house : 3 cards have same number & the other 2 cards have same number Straight : 5 cards have consecutive number (A can be 1 or 14) Three of a kind : 3 cards have same number Two Pair : 2 cards have same number & other 2 cards have same number One Pair : 2 cards have same number 3/8

Design Rule Design Rule Use 5 Button switches Use Bus switches Reset button Random open button for playing with random cards from deck Debug open button for playing with specific cards which can be chosen by bus switch Judge button for judging the game after opening all the cards Opponent’s status button for showing the opponent’s status in that situation Use Bus switches Handle the bus switches and push debug open button Use 6 LEDs 6 LEDs can show 6 Poker Hand Ranking One Pair, Two Pair, Three of a kind, Straight, Full House, Four of a kind Use 7 7-segments 2 for your own individual cards 3 for common cards 2 for opponent’s individual cards The number of card representing one number cannot be more 4. 3/8

7-segment representation Card 7-Segment A 8 2 9 3 10 4 J 5 Q 6 K 7 5/8

I/O Mapping 6/8 7-Segment : 7 Cards from deck LEDs : Poker Hand Ranking Bus Switch: Choosing card number in debug mode Button Switch: Many buttons explained 6/8