SHOWDOWN - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

SHOWDOWN

Description:

SHOWDOWN. Final Program Presentation. Final ... Showdown Driver Module ... Showdown Workspace. Header, Source, Icon, and Text Log Files. Project Deliverables ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 16
Provided by: edmond2
Category:

less

Transcript and Presenter's Notes

Title: SHOWDOWN


1
SHOWDOWN
  • Final Program Presentation

2
Final Design Layout
1. Component Hierarchy 2. User Interface 3. Log
Output 4. Test Log 5. Component Walk Through
  • Player
  • Strategy
  • House
  • Deck
  • Card
  • Comparator
  • Showdown Driver

3
Component Hierarchy
4
User Interface
  • Basic Dos console interface.
  • User interaction composed of answering questions
    asked by program using the keyboard and user
    viewing cards laid out on the screen.
  • Human User variables such as the players money
    are always displayed on screen.

5
Log Output
  • Program outputs each players cards and actions.

6
Test Log
  • Program outputs all significant variables stored
    in the house and player modules throughout the
    course of the game for debugging.

7
Showdown Driver Module
  • Creates house and calls functions from house that
    will begin game execution from round to round.
  • Controls game flow in regards to which player
    goes next.

Main Operations
Start a Session Starts Rounds Turn Loops
(two) Players Choices
8
House Module
  • Creates 10 instances of player.
  • Creates a instance of Deck.

Main Operations
Initialize a New Session Initialize Next
Hand Initialize Rounds Player Choices Show Table
to User Deal Cards
Raise Bet Check Call Fold The Showdown
9
Player Module
  • get_hand_value()
  • chooseaction(in
  • set_action(int x)
  • set_mode
  • set_style( int

10
Strategy Module
  • The strategy module is one function called
    choice.
  • Parameters
  • Possible choices of player.
  • The value of the players hand.
  • Players style, currently only one style has been
    implemented.
  • The players last action, did the player bet,
    check, etc..
  • The round number.
  • Function switches on the strategy number and
    round number and determines what the players
    action based on the value of the hand.

11
Comparator Module
12
Card and Deck Modules
  • Contains functions for the handling of a full
    deck of cards and representations of the cards.
  • Holds the functions and data related to card
    type.

13
Unresolved Requirements
  • Tie breaking - If two players have the same
    straight, both win.

14
Showdown Disc
  • On the Disc
  • Showdown Workspace
  • Header, Source, Icon, and Text Log Files
  • Project Deliverables
  • User Manuals, Design Documents, Progress
    Reports...
  • Showdown Executable

15
Team Contacts
Matt Hopkins
Email Web page Phone 816-741-5436
Tyson Bell
Email Web page Phone 816-210-7011
David Trierweiler
Email Web page Phone 913-722-1230
Frank Bohanon, Jr.
Email Web page Phone 816-716-5180
Michael Johnson
Email Web page Phone 913-534-2551
Group Email
Write a Comment
User Comments (0)
About PowerShow.com