C++ program for simulating 3 dices (using class)

ปิด โพสต์แล้ว Mar 7, 2003 ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

Write a simple menu-driven rolling dice program. To play this game, first you have to toss the dices within the cup first, and then place your bet. You can check your win or loss status by choosing the opening-option from the main-menu. An option to allow the user to preset the initial values of all dices before tossing the dices should also be given in the main-menu. The overall win-or-loss status should display the following information: · Total number of bet · Total number of win · Total number of loss · Result: Win or Loss This program should have built-in help information to show new users about the rules as well as how to play this game. Assuming that there is three dices being used for this game. Possible bets are: over_9, under_9, or just_9. Rules for this game: ·Permissible bets are: under_9, over_9, just_9 ·Reward for betting on either under_9 or over_9 is one to one ( ie. Win 1 point for correct answer, or lose 1 point for wrong answer ). ·Reward for betting on just_9 is one to three ( ie. Win 3 points for correct answer, or lose 1 point for wrong answer ). ·Dices have to be rolled first within a cup, before you can place your bet. ·Once the cup has been opened, it cannot be opened again unless dices have been rolled again and new bets have been placed. Requirements: · Your game should be designed as robust as possible. This means even if the user makes a wrong choice from the menu, your program should still be up and running. · Your class data type must have the following operations and properties: o diceTOSS ( ..) ----- to roll the dice to generate a random number (from 1 to 6). o diceREVEAL (..) ----- to display the face value of a dice. o diceSetDefaultValue( .. ) ----- to set a desired preset value before tossing the dice. o diceN ------ face value of the dice ( possible values: 1 to 6 ). o a constructor function to initialize the dice to any value ( i.e. any number from 1 to 6 ).

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

any windows version (>Windows 95)

การเขียนโปรแกรม C วิศวกรรม ออกแบบเกม Microsoft MySQL PHP สถาปัตยกรรมซอฟต์แวร์ การทดสอบซอฟต์แวร์ Windows Desktop

หมายเลขโปรเจค: #2913846

เกี่ยวกับโปรเจกต์

16 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 16 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $17

klickers

See private message.

$14.45 USD ใน 14 วัน
(121 รีวิว)
6.7
petarsvw

See private message.

$21.25 USD ใน 14 วัน
(25 รีวิว)
5.1
ingeniadesign

See private message.

$12.75 USD ใน 14 วัน
(51 รีวิว)
5.0
herculesevw

See private message.

$18.7 USD ใน 14 วัน
(78 รีวิว)
4.6
thecodebuyer

See private message.

$21.25 USD ใน 14 วัน
(22 รีวิว)
4.5
anilmauryavw

See private message.

$21.25 USD ใน 14 วัน
(16 รีวิว)
4.3
lalesculiviu

See private message.

$21.25 USD ใน 14 วัน
(15 รีวิว)
4.1
aledrian

See private message.

$21.25 USD ใน 14 วัน
(9 รีวิว)
3.4
cgtvw

See private message.

$11.05 USD ใน 14 วัน
(5 รีวิว)
2.7
dannynoest

See private message.

$8.5 USD ใน 14 วัน
(15 รีวิว)
2.7
vw653941vw

See private message.

$17 USD ใน 14 วัน
(11 รีวิว)
2.4
vw417539vw

See private message.

$21.25 USD ใน 14 วัน
(5 รีวิว)
2.9
foszto

See private message.

$17 USD ใน 14 วัน
(1 รีวิว)
0.0
ratankumart

See private message.

$12.75 USD ใน 14 วัน
(0 รีวิว)
0.0
cjwenterprises

See private message.

$21.25 USD ใน 14 วัน
(2 รีวิว)
0.0
dharmendra88

See private message.

$8.5 USD ใน 14 วัน
(0 รีวิว)
0.0