Find Jobs
Hire Freelancers

C++ program to simulate 3 dices with using class

$20-25 USD

クローズ
投稿日: 約21年前

$20-25 USD

完了時にお支払い
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 ). · Feel free to ## 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 platform (>Windows 95)
プロジェクト ID: 2913843

プロジェクトについて

4個の提案
リモートプロジェクト
アクティブ 21年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に4人のフリーランサーが、平均$20 USDで入札しています
ユーザーアバター
See private message.
$21.25 USD 14日以内
4.9 (3 レビュー)
3.3
3.3
ユーザーアバター
See private message.
$21.25 USD 14日以内
2.3 (5 レビュー)
2.9
2.9
ユーザーアバター
See private message.
$18.70 USD 14日以内
0.0 (1 レビュー)
0.0
0.0
ユーザーアバター
See private message.
$17 USD 14日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

CANADAのフラグ
Canada
0.5
1
メンバー登録日:2月 28, 2003

クライアント確認

このクライアントからの他の仕事

C++ program for simulating 3 dices (using class)
$20-25 USD
ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。