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.

Slides:



Advertisements
Similar presentations
ECE 491 Final Project Multiplayer Card Game Author: Tian Ma Presentation 5/4/2004.
Advertisements

Programs in Memory Bryce Boe 2012/08/29 CS32, Summer 2012 B.
Topics in Python Blackjack & TKinter
Java Coding 8 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. Object-Oriented Design Example - The.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 7.9Arrays of Pointers Arrays can contain pointers For.
© Glenn Rowe AC Lab 2 A simple card game (twenty- one)
1-16 Tournament Rap Up Double Elimination: AKA two loss and out Advantages: –One of the fairest types of tournaments –Gives participants at least.
Racquetball is a competitive game in which a racquet is used to serve and return a ball.
Randomized Strategies and Temporal Difference Learning in Poker Michael Oder April 4, 2002 Advisor: Dr. David Mutchler.
UI Design wireframe. Things to add next time discuss the 4 aspects from the readings –Learnability –Simplicity –Efficiency –Asethetic.
Stat 100 Feb. 20. Stat 100 Read Ch. 15; Try 1-5, 7, 14, 17, 18, 21, 25 Read Chapter 16.
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.
BLACKJACK SHARKS: Aabida Mayet, Omar Bacerra, Eser Kaptan March 15, 2010.
Java Risk game Slide 1 The rules of RISK Simon Forey.
Final Specification KwangMonarchIkhanJamesGraham.
An application of the Probability Theory
12 Pontoon1May Pontoon program CE : Fundamental Programming Techniques.
Design Example. Requirements Make a program that simulates the game of blackjack For now, we ignore money/betting…. just simulate game play But… this.
Elevens Lab Student Material – on website
Intro to Probability & Games
Building Memory… Notes from class on 11/13/06. The Game Think about what types of objects we will need in our system and some of the properties and capabilities.
Java Coding 8 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. Object-Oriented Design Examples.
Graphics and Client Design Overall Game Design Doug Camin.
Chapter 5 Black Jack. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 5-2 Chapter Objectives Provide a case study example from problem statement.
AP Computer Science.  Not necessary but good programming practice in Java  When you override a super class method notation.
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.
VOCABULARY  Deck or pack  Suit  Hearts  Clubs  Diamonds  Spades  Dealer  Shuffle  Pick up  Rank  Draw  Set  Joker  Jack 
February 8: Decimal Day. WARM UP & UNDERSTANDING DECIMALS.
Computer Basics Flashcards #2
A Fighting Game of Sorts CS470 Project Presentation By Mark Blum.
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
SOFTWARE.
11 Games and Content Session 4.1. Session Overview  Show how games are made up of program code and content  Find out about the content management system.
MrsBillinghurst. net A2 Computing A2 Computing Projects Game Animation in Pascal.
Date Submission: January 29, 2011 Submitted by: Syeda Khushbakth Rizvi Syed Hasan Asghar Submitted to: Ms. Quratul-Ain Nizam-ud-din Rajput DATA STRUCTURES.
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
Black Jack MVC By Jeremy DiPaolo. Introduction Goal: To create a Black Jack game that takes advantage of the MVC framework. Uses many of the components.
Paigow Training Hai J Shen International Association of Certified Surveillance Professionals.
Inner and Anonymous Classes Though you are captive in the OO paradigm, you can use inner classes and anonymous classes to get around this constraint and.
Computer Science 111 Fundamentals of Programming I More Data Modeling.
Othello Artificial Intelligence With Machine Learning
Mahjong. About Mahjong is sometimes classified as a domino game because of the solid form of the tiles, but plays similar to card games such as rummy.dominocard.
Blackjack: A Beatable Game Amber Guo Adapted from: David Parker Advisor: Dr. Wyels California Lutheran University ‘05.
Uses and features of multimedia products
Math Games Compiled By: Joan Bartlett and Heather Bartlett.
Connect Four AI Robert Burns and Brett Crawford. Connect Four  A board with at least six rows and seven columns  Two players: one with red discs and.
Pitch Playing Agent Project for Into to AI Jody Ammeter.
Expected Value. Expected Value - Definition The mean (average) of a random variable.
Visual Basic Games: Week 4 Recap Parallel structures Initialization Prepare for Memory Scoring Shuffling Homework: when ready, move on to next game/chapter.
A Java implementation of Peirce’s Existential Graphs
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
 m C r =m!/r!(m-r)!  Property: m C r = m C (m-r)  Example: ◦ If you have 10 pens, all in different colors, and you want to bring two of them to class,
Week 8 : User-Defined Objects (Simple Blackjack Game)
Have you ever played a game where everyone should have an equal chance of winning, but one person seems to have all the luck? Did it make you wonder if.
The Pentium Goes to Vegas Training a Neural Network to Play BlackJack Paul Ruvolo and Christine Spritke.
Chance We will base on the frequency theory to study chances (or probability).
Math in the gamble. Poker is Math Poker is a game that requires the ability to read situations and your opponents to gain an advantage in every hand you.
Probability and statistics - overview Introduction Basics of probability theory Events, probability, different types of probability Random variable, probability.
Section 5.5 Application: The Card Game of War. 5.5 Application: The Card Game of War A deck of cards is shuffled and dealt to two players The players.
Microsoft Foundation Classes MFC
UI Design.
An Implementation of the Card Game “Solo”
Computers Are Your Future
Java for Beginners University Greenwich Computing At School DASCO
Introduction to Data Structure
Introduction to Computer Systems
Term Project: Poker Game
Task 2 Implementation help
Presentation transcript:

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 player does, and try not to get hold of the “Monkey Card”

Game Play  Each turn, a player is to get one card from the next player and discard paired* cards in his hand.  Each turn, the non-AI player is allowed to use his cheats in his Cheat Phase. *Paired Cards: cards with the same rank, regardless of suit.

Game Phases  Each turn consists of four (4) phases, namely; 1. Discard Phase 1  In this phase, a player could discard a paired card from his hand. 2. Cheat Phase  In this phase, the non-AI player could use his cheats to have advantage over AI players 3. Main Phase  In this phase, a player must take a card from the next player 4. Discard Phase 2  Refer to Discard Phase 1.

ABOUT THE CLASSES

Classes  Card  This class is the “Card” of the game. Each card object has different properties with other objects.  Cards are implemented as a linear linked list.  Significant Attributes:  String rank – the rank of the card (king, ace, two…)  String suit – the suit of the card(hearts, spades…)  String name – the name of the card ( of )  Card nextCard – reference to the next card on the list

Classes  Deck  This class contains all the information and methods used to manipulate the deck of the game  Acts as the “holder” of the cards.  Significant Attributes:  Card theCard – reference to the head card of the card list  Card monkeyCard – contains the monkey card of the game  Int deckCardCount – counter for the number of cards in the deck (linked list of cards)

Classes  Hand  The player’s hand contains all the cards that he owns. And this class represents the player’s hand.  Similar to the class Deck.  Significant Attributes:  Card playerCard – reference to the head of the list of cards that the player has.  Int cardCount – counter for the number of cards in the players hand.

Classes  Player  Contains the necessary data of a player and this class contains an object of the Hand Class.  Significant Attributes:  String name – contains the name of the player  Hand playerHand – hand of the player that contains his cards  Cheat playerCheat – contains the players cheat s  Int (“statistics”) – multiple variables of type int that holds the players records (win, loss, games played…)

Classes  Cheat  This class stores the information about a player’s cheats.  Significant Attributes:  Int (counters) – multiple variables of type int that is the counter for each cheat the player owns.

Manager Classes  These are the abstract classes that do not contain properties or items that are needed to play the game, but contain properties that are needed to run the game.  Called ‘manager classes’ because they are in charge of managing a specific task.

Classes – Manager Class  GameManager  This abstract class is the most significant class of the game, it contains maybe 1/3 of the methods that are needed to run the game.  Manages simple things such as the distribution of cards, setting of players, setting the monkey card, transferring of a card from a player to another, to more complex such as the algorithm for AI’s moves.

Classes – Manager Class  FileManager  This abstract class manages the writing and reading of files.  Some significant tasks:  Loading and Saving of player.  Getting of the images from specific locations.

Class – Manager Class  CheatManager  This class is tasked to implement the cheats that the player is using.  This class also contains some method that return the availability of a cheat, or the cost of the cheat, and the string value of the cheat.  How is it different from Cheat Class?  The Cheat Class contains only information about the cheats of a player (number of cheats, etc.) while Cheat Manager is the class the implements the cheats.

Frame Classes  These are the classes extended as a JFrame and contains the Graphical User Interface part of the game.

MainFrame – Frame Class  This frame class contains the GUI of the Main Menu.  Significant Actions:  New Player – creates a new player  Load Player – loads an existing player  Play Game – plays a game  Settings – sets the settings  View Cheats – shows the player’s cheats  View Statistics – shows the player’s game stats

PlayFrame – Frame Class  This frame contains the GUI for the playing of the game  Significant Actions:  Game Phases  Discard, Shuffle, Selecting of Cards  Significant Images:  Player’s Hand  Hand of next player

From v1.0

To v2.0 *GUI is added on v2.0

END of PRESENTATION

Why is the game named “Monkey Doo”?  In local terms, this game is called ‘onggoy- onggoy’ or ‘onggoy-onggoyan’. Translating that to English would be ‘Monkey-Monkey’, but that sounds funny right?  So why Doo?  Doo is a random word that entered my mind when I was thinking of a name for the game, thus the name ‘Monkey Doo’. COOL :P

In Game Cheats  Hand Peep*  It allows the player to SEE the hand of the opponent!  Card Peep  It selects a random card of from the opponents hand and shows it to the player.  Two Card Peep  Same as Card Peep, but twice the viewing!  Mkey Point  Tells the player who currently has the Monkey Card  Mkey You  Tells the player if he has the Monkey Card or not  Double or Nothing  At the end of the game, if this cheat is activated and the player Wins, he earns double the points.  25% Boost  At the end of the game, the player earns 25% more point.

How to get Cheats?  At the end of every game, a player has a chance of receiving cheats, more chances if he has won.  A player may but cheats using his hard earned points at the Main Menu, before a game.