Details of this Paper

A software company that develops games has just hired you! Before working on the next version of Medieval Menace they...

Description

solution


Question

A software company that develops games has just hired you! Before working on the next version of Medieval Menace they have given you the task of implementing the tictac-toe game in C++. Tic-tac-toe consists of a 3;215# 3 game board of squares where each square is either empty, has an X marker, or has a O marker. Two players represented by an X or an O play the game. The objective is for one player to get three Xs or three Os in a row first. Design, implement, and test classes that represent a tic-tac-toe game board and X and O markers. Your classes should provide suitable observer and mutator methods for modifying the game board and displaying the state of the game. Use your classes to create a game that prompts for player X and player O to place markers at specified locations on the game board. After each move your program should display the current game board to the console. Your program should also check after each move if there is a winning configuration of the game board. If so, the game should complete indicating which player won.;Details;- both players on the same board.;- the functions are: Checkwin(This to know who won, There is 8 ways to consider to find out who won), Assign(Who is the X maker and O marker(from user)), GetVal (This to access a position and if in this position there is an O of X), DisplayBoard (This needs to be displayed each time when both users play);- Using ADT (3 files is needed, Header file((.h) Including Public and privet operants and data only- no need for protecting), implementing file (.cpp), and the clinet program (.cc file);Make it original - It is a C++

 

Paper#65442 | Written in 18-Jul-2015

Price : $22
SiteLock