Computer Science Project: BLACKJACK BY TEAM A. Overview of the Project Part A: Ramanathan Swaminathan, Zaith Peralta Ramos Game control, scoring and user.

Slides:



Advertisements
Similar presentations
Card Counting Driller By Oscar Chen For CS491A. Practice your Card Counting Skills Application to allow Blackjack Enthusiasts to sharpen their skills.
Advertisements

Snaps A Write On Activity Play and Win! Read the online directions before playing the game.online directions Penalty: If you argue with the referee (teacher)
Black Jack in Objective-C
Minibridge Cowbridge Comprehensive July 2007 Patrick Jourdain.
Math and Card Games By: Candace DiBiano.
1 CSC 222: Computer Programming II Spring 2004 HW1 review arrays vs. vectors class design object-oriented design data objects + functionality example:
By: Jonathan Quenzer. To have a computer learn how to play Blackjack through reinforcement learning Computer starts off with no memory. After each hand.
Phase 2 -- Logic Implementation & Simulation Switching & Logic Design Project.
1 Greg Wilson BA 4234 CSC407: Software Architecture Fall 2006 Refactoring.
C9, a case study: Solitaire
© Glenn Rowe AC Lab 2 A simple card game (twenty- one)
Probability, matrices and game theory The mathematics of Blackjack (21)
EEE436 / CS422 Preliminary Presentation Group
Permutations and Combinations
GCSE Computing Working with numbers. Challenge ‘Crimson Mystical Mages’ is a fantasy role playing board game. You need to create an electronic program.
Lecture 10. Simplified roulette European roulette has numbers 0,1,…36. xD0s
BLACKJACK SHARKS: Aabida Mayet, Omar Bacerra, Eser Kaptan March 15, 2010.
Dice, Cards and Darts Probabilities in Games Finding the Right Representation.
An application of the Probability Theory
12 Pontoon1May Pontoon program CE : Fundamental Programming Techniques.
Blackjack Programming Project
Rene Plowden Joseph Libby. Improving the profit margin by optimizing the win ratio through the use of various strategies and algorithmic computations.
Computer Science 313 – Advanced Programming Topics.
Design Example. Requirements Make a program that simulates the game of blackjack For now, we ignore money/betting…. just simulate game play But… this.
CS 106 Introduction to Computer Science I 04 / 02 / 2008 Instructor: Michael Eckmann.
CS 106 Introduction to Computer Science I 11 / 08 / 2006 Instructor: Michael Eckmann.
JokerStars: Online Card Playing William Sanville Milestone 4.
Test Abstractions Intent Nat. Lang. Spec. HW Behavioral Tests can be described at different abstraction levels Tests can be defined top-down or bottom-up.
CS 106 Introduction to Computer Science I 04 / 07 / 2010 Instructor: Michael Eckmann.
A R R A Y ! for Multiplication!!
o Simulate a deck of playing cards o Shuffle the deck o Deal (5) cards into the hand o Turn over the first card o The user must guess whether the next.
o Simulate a deck of playing cards o Shuffle the deck o Deal 5 cards into the hand o Turn over the first card o The user must guess whether the next card.
Black Jack Dr. Bernard Chen University of Central Arkansas Spring 2012.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
Rounding One way of estimating Ask “About how many?” Round to the nearest 10 Round to the nearest 100 Round to the nearest 1,000.
Mean, Median, Mode and Range The Basics of Statistics Nekela Macon Summer 2009.
Blackjack: An Analysis of Probability By: John Theobald.
April 2009 BEATING BLACKJACK CARD COUNTING FEASIBILITY ANALYSIS THROUGH SIMULATION.
Jeopardy Start Click the Start button to go to the Category Board and begin the game. On the Category Board, click the button of your choice to select.
Today in CS161 Lecture #4 Solving Problems with Computers Walk through the Tic Tac Toe Algorithm Getting ready for Creating Programs Turn the Inches to.
Poker UML and ADT design plan.
CS161 Topic #15 1 Today in CS161 Lecture #15 Practicing! Writing Programs to Practice Write a game program (1 player) of Mad Math Reuse the functions to.
Casinos There’s a reason they are big and extravagant!
Case Study: Game2D with Method Design
RFID Children’s Game Jared Wilkin Chris Good. What does it Do? A set of stations that when deployed create an active children’s game Each station uses.
Blackjack: A Beatable Game Amber Guo Adapted from: David Parker Advisor: Dr. Wyels California Lutheran University ‘05.
LECTURE 14: USE CASE BASICS CSC 212 – Data Structures.
Georgia Institute of Technology More on Creating Classes part 2 Barb Ericson Georgia Institute of Technology Oct 2005.
A Casino Simulator Program Using Advanced C++ Concepts Thomas H. Hand July 25 th, 2005 Software/Hardware Integration.
November 28, 2005ICP: Chapter 9: Object Oriented Programming 1 Introduction to Computer Programming Chapter 9: Object Oriented Programming Michael Scherger.
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.
CMSC 202 A Design Exercise. 2 OO design activities Finding the Objects Defining the responsibilities –Services –Attributes Discovering relationships.
Author Ivan Dominic Baguio. ABOUT THE GAME Game Objective  The goal of each player in the game is to discard all cards in his hand before every other.
DOTSNBOXES. Overview Dots and Boxes is played originally with the use of paper, pen and 2 players. The Game board is a matrix of points and vary in size.
Random Numbers Random numbers are extremely useful: especially for games, and also for calculating experimental probabilities. Formula for generating random.
Programming Problems Intermediate 2 Computing SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE.
2. 99 Round the the nearest 10 QUIZ
Card Game Z  Agree on a dealer and a score keeper  The dealer should remove all the Jacks, Queens, Kings & Jokers from the pack and then shuffle  The.
Shlomo Hershkop Basics overview. Shlomo Hershkop Basic Review - Overview Practice coding Practice coding finger guessing game finger guessing.
Lecture 11.
Thursday, March 30, 2017 Day 2 Agenda Science Notebook
Truth tables: Ways to organize results of Boolean expressions.
Truth tables: Ways to organize results of Boolean expressions.
Truth tables: Ways to organize results of Boolean expressions.
CS-401 Computer Architecture & Assembly Language Programming
Task 2 Implementation help
Twenty-one In each round, give all teams their additional cards at the same time (not one at a time). So ask if they will be taking another card. They.
PICK 6 Game Board
BY: Cesar, Jennifer, Adrianne & Allen
Presentation transcript:

Computer Science Project: BLACKJACK BY TEAM A

Overview of the Project Part A: Ramanathan Swaminathan, Zaith Peralta Ramos Game control, scoring and user interface work team Part B: Dominik Milcher, Nayan Dhodia Shuffle Part C: Avinash Herle, Ruben Romero Torred Play of the user, play of the dealer Part D: Marco Antonio González Vazquez, Max Koch Communication with the second board over the serial port Part E: Tobias May Software architecture, system integration, project coordination

Terms and Conditions 10 or less cards: new shuffle One Deck consists of 5 x all cards Stats should always go on counting Maximum Draw: 5 cards

Functioning of the Group Team A: void show_welcomemsg(); Show a tiny welcome message. void show_dealerwinmsg() Show a message telling the player won the round. void show_stats(); Show the current statistics on the screen. void show_currentcards(); Show Player and Dealercards on the Screen int check_cards(int *dealercards, int *playercards, int dealernumcards, int playernumcards); Check all cards for a win or a loose. void get_initialcards(); Set playercards and dealercards empty. Use function get_card() to get all the cards you need when a game starts.

Team B: void get_newcardset(int *carddeck); Generate a cardset with 260 (= 5 x 52) cards and shuffle them. Assigne them to array "carddeck" int get_card(int *carddeck); Get one card from the array "carddeck". Make sure the card is not accessible anymore and give it back as integer value. Team C: int get_dealerchoice(int *dealercards, int *playercards, int dealernumcards, int playernumcards); Make the decision what the dealer does. Give back choice as 0 = hit, 1 = stand int get_playerchoice(); Ask what player does. Give back choice as 0 = hit, 1 = stand void get_newplayercard(); Get a new card from get_card() and add it to players cardarray. Increas playernumcards. void get_newdealercard(); Get a new card from get_card() and add it to dealers cardarray. Increase dealernumcards. Team D: int get_virtualplayerchoice(int *dealercards, int *playercards, int dealernumcards, int playernumcards); Make the decision what the virtual player does. Give back choice as 0 = hit, 1 = stand. The function should splitted in a part for sending the information to the other MC and a part where the other MC makes the decision and sends it back. We need an interupt for interface check. If interupt occurs, set gamemode = "automatic".

LET THE GAME BEGIN Welcome screen

LET THE GAME BEGIN Game screen

BlackJack

JackBlack

HELP

THANK YOU