Find Jobs
Hire Freelancers

Tic Tac Toe

$30-80 USD

Completed
Posted over 22 years ago

$30-80 USD

Paid on delivery
Creat a class TicTacToe. Class contain private dataa 3by3 double array of integers. The constructor should initialize the empty board to all [login to view URL] 2 player. place a 1 in speified square as player 1 moves and a 2 when player 2 moves. TicTacToe game, program 6.16. This project is again a three-file project ([login to view URL], [login to view URL], and TicTacToe.h). The submission requirements are the same as above. Follow similar naming conventions for the project folder and name. Follow the instructions from the text. Your class TicTacToe should include the following: A default constructor that initializes the board to zero. Data members: board and status (an enumerated set containing Win, Continue, Lost). Member functions: makeMove, validMove, xoMove (sets move to x or o), gameStatus (tests for a win), printBoard (prints board using X and O instead of 1 and 2). Use the following as your driver. (Add proper documentation !!) // driver [login to view URL] #include “TicTacToe.h?? int main () { TicTacToe game; [login to view URL](); return 0; } ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Deadline information Need to be complete before Feb 4 9:00am
Project ID: 2837991

About the project

1 proposal
Remote project
Active 22 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$38.25 USD in 14 days
4.5 (15 reviews)
2.7
2.7

About the client

Flag of UNITED STATES
United States
5.0
3
Member since Feb 3, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.