Thread: Help with The Game Of Roulette plzzz

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    4

    Help with The Game Of Roulette plzzz

    Pswrd 4 attachment is: PROG1101

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4
    Help me with the game of roulette plzzzzzzzzzzz!!

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    266
    you didn't write the pseudocode , or have you started with the code already?
    Last edited by rodrigorules; 05-16-2010 at 11:45 AM.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    For those that don't want to muck about with a protected document -
    PROG1101 – Programming Essentials
    PROG1101 - Programming Essentials
    COURSEWORK
    ISSUE DATE: 29th April 2010 DUE DATE: 10th June 2010
    The Game of Roulette
    Roulette is played with a wheel containing 38 different squares along its circumference. Two
    of these squares, numbered 0 and 00 are green; 18 are red and 18 are black. The red and
    black squares alternate in color, and are numbered 1 through 36 in a random order.
    A small marble is spun within the wheel, which eventually comes to rest within a groove
    beneath one of the squares. The game is played by betting on the outcome of each spin, in
    any one of the following ways.
    (i) By selecting a single red or black square, at 35-to-1 odds. Thus if a player were to bet
    $1.00 and win, he or she would receive a total of $ 36.00: the original $1.00 plus an
    additional $35.00.
    (ii) By selecting a color, either red or black, at 1-to-1 odds. Thus if a player chose red on a
    $1.00 bet, he or she would receive $2.00 if the marble came to rest beneath any red square.
    (iii) By selecting either the odd or the even numbers (excluding 0 and 00), at 1-to-1 odds.
    (iv) By selecting either the low 18 or the high 18 numbers at 1-to-1 odds.
     You are required to implement the roulette game described above as an
    interactive C program.
     Allow the players, a minimum of two players, to select whatever type of bets they
    wish by choosing from a menu. Then print the outcome of each game followed by
    appropriate outcome messages indicating whether each player has won or lost.
     The game must interact with the players asking them to place their bets
    respectively before it starts.
     The game must also allow the players to modify their bets before the marble is
    spun, usually a time interval of 30 seconds is given to modify bets.
     Whenever a player wins, he may either keep his money in the machine or he may
    remove all or part of it. The program you develop must therefore also provide this
    feature.
    1|Page
    PROG1101 – Programming Essentials
    Your code should be clearly laid out, commented and indented with appropriate use of white
    space. The aim is for you to exercise appropriate programming concepts and to put them
    into practice. You may also add any other relevant functionality that is provided in the game
    of roulette, which is an international game.
    Note:- Before you start coding you must prepare and plan the game with necessary
    flowcharts and pseudo code- marks will be awarded for these deliverables as per the
    marking scheme given below.
    Printed version of the program with appropriate use of comments, indentation and 10 marks
    white space for readability
    All the Inputs, Outputs and Processing of the system 10 marks
    Flowcharts and Pseudo code 20 marks
    Proper use of Function and Arrays 20 marks
    Software- The Roulette Game 30 marks
    Presentation: The explanation of Line of Code 10 marks
    Total 100 marks
    Directory structure:
    All in a single top level directory on diskette (or CD!) called Roulette, if possible no
    subdirectories should be used. Provide printed instructions to run the work.
    Submission:
    The last date for submission of this assignment is week 12. Late submissions will be
    penalized. You will have to present the software in the Microsoft Lab; each candidate will be
    given 10-15 minutes to explain his program.

    This is an individual piece of work and if found guilty of plagiarism a failure grade will
    be awarded.
    The Inputs, Outputs and the processing of your system and the system Flowchart and
    Pseudocode need to be delivered on the 13th of May
    LATE SUBMISSION WILL NOT BE ACCEPTED

    2|Page
    3.5 Weeks is plenty of time to have several goes at implementing this - no hurry needed on our end.
    We await your attempt.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Replies: 15
    Last Post: 10-20-2009, 09:39 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. Help: Text-Based Roulette Game
    By mfm1983 in forum C++ Programming
    Replies: 30
    Last Post: 11-28-2006, 12:39 AM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM