Thread: Need Programming Assistance for Class Project

  1. #1
    Registered User
    Join Date
    May 2008

    Need Programming Assistance for Class Project

    I am trying to finish a project for my class I and was wondering if anyone could give me some help.

    The project is to make a roulette game. I am having trouble getting the logic to work on the persons bet and then determining if they win or not and then how much to pay them. Any ideas would be helpful.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Please review the forum rules and our homework policy.

    What kind of trouble do you have?
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    The larch
    Join Date
    May 2006
    I wonder why you have practically the same code for both the Test and Game branch. You can always compile and test the program while it is unfinished if you comment out certain function calls if those functions are not yet implemented, or you can make those functions simply return 42 or something like that for the time being.

    As to your question, do you have some sort of specification? Or are you supposed to find out the amounts yourself (try Wikipedia)?

    Anyway it seems that you simply multiply the bet by a certain factor for each bet type, if the player wins.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  2. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 09:01 AM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. Need assistance for major text base Arena RPG project
    By Ruflano in forum C++ Programming
    Replies: 0
    Last Post: 04-04-2002, 11:11 AM