Find Jobs
Hire Freelancers

C++ class for TicTacToe

$30-5000 USD

完了済み
投稿日: 21年近く前

$30-5000 USD

完了時にお支払い
Create a C++ class called TicTacToe for use in playing the game tic-tac-toe. Recall that the game is played on a 3 x 3 board, where every square is either empty, or contains an “X?? or an “O??. The game is won when there are three "X" s or "O" s in a straight line, either in the same column, the same row, or the two diagonals. The game is a stalemate when the board has no empty squares, but neither X nor O has won. The following includes references to an enumerated type player, defined as: Enum Player {X, O, empty}; The C++ class must have the public methods of: TicTacToe: (constructor) This initializes the board, which means it sets all the positions to empty, and makes the board ready for use. void Place(P, Column, Row): A method that takes a player “P?? and sets the Column and Row of the board to be Player “P??. int Win(P): A function that returns 1 (one) if Player “P?? wins the game, and 0 (zero) otherwise. int Stalemate(): A function that returns 1 (one) if the board represents a game in stalemate, and 0 (zero) otherwise. ## 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 BORLAND C++ VERSION 5.02
プロジェクト ID: 2954435

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$5 USD 15日以内
4.7 (17 レビュー)
3.7
3.7
この仕事に24人のフリーランサーが、平均$18 USDで入札しています
ユーザーアバター
See private message.
$12.75 USD 15日以内
5.0 (25 レビュー)
6.2
6.2
ユーザーアバター
See private message.
$11.05 USD 15日以内
4.9 (101 レビュー)
5.1
5.1
ユーザーアバター
See private message.
$17 USD 15日以内
5.0 (35 レビュー)
4.6
4.6
ユーザーアバター
See private message.
$42.50 USD 15日以内
4.6 (59 レビュー)
4.4
4.4
ユーザーアバター
See private message.
$8.50 USD 15日以内
4.8 (34 レビュー)
4.4
4.4
ユーザーアバター
See private message.
$12.75 USD 15日以内
4.9 (94 レビュー)
4.3
4.3
ユーザーアバター
See private message.
$46.75 USD 15日以内
5.0 (9 レビュー)
4.1
4.1
ユーザーアバター
See private message.
$17 USD 15日以内
4.9 (35 レビュー)
3.8
3.8
ユーザーアバター
See private message.
$5.10 USD 15日以内
4.7 (22 レビュー)
3.4
3.4
ユーザーアバター
See private message.
$12.75 USD 15日以内
4.6 (11 レビュー)
3.1
3.1
ユーザーアバター
See private message.
$12.75 USD 15日以内
5.0 (10 レビュー)
2.8
2.8
ユーザーアバター
See private message.
$12.75 USD 15日以内
5.0 (4 レビュー)
2.6
2.6
ユーザーアバター
See private message.
$42.50 USD 15日以内
5.0 (7 レビュー)
2.5
2.5
ユーザーアバター
See private message.
$38.25 USD 15日以内
4.9 (10 レビュー)
2.5
2.5
ユーザーアバター
See private message.
$12.75 USD 15日以内
4.7 (8 レビュー)
2.5
2.5
ユーザーアバター
See private message.
$10.20 USD 15日以内
4.5 (18 レビュー)
2.4
2.4
ユーザーアバター
See private message.
$6.80 USD 15日以内
5.0 (5 レビュー)
1.9
1.9
ユーザーアバター
See private message.
$8.50 USD 15日以内
5.0 (3 レビュー)
1.3
1.3
ユーザーアバター
See private message.
$51 USD 15日以内
5.0 (1 レビュー)
1.3
1.3
ユーザーアバター
See private message.
$10.20 USD 15日以内
5.0 (2 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
United States
5.0
32
メンバー登録日:7月 12, 2003

クライアント確認

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