In the C++ programming language write a program
capable of playing 3D Tic-Tac-Toe against the user. Your program should use OOP concepts in
its design.Use Inheritance to create a derived class from your Lab #9 Tic-Tac-Toe class. You
can use ASCII art to generate and display the 3x3x3 playing board. The program should
randomly decide who goes first computer or user. Your program should know and inform the
user if an illegal move was made (cell already occupied).The program should also keep the
score and announce if one of the players wins or if a draw is achieved. While it is desirable for
your program to play a strong game, this is not an Artificial Intelligence course so if your
program does not play at a world champion level you will not be penalized for it.The object of a 3D-TTT is to get as many 3-in-a-row as possible. You win just like in traditional
TTT, except you can also win by getting 3-in-a-raw down each board. Imagine the boards as
placed on top of each other.
Blank Board:
___|___|___
___|___|___
| |
___|___|___
___|___|___
| |
___|___|___
___|___|___
| |
Game in Progress:
_x_|_0_|_0_
_x_|_x_|_x_
0 | 0 | x
_0_|___|___
___|_x_|___
| |
___|___|___
___|_0_|_0__
| x |
capable, CECS130, language, playing, program, Programming, solved, Tic-Tac-Toe, Write
[SOLVED] Cecs130 lab 10 in the c++ programming language write a program capable of playing 3d tic-tac-toe
$25
File Name: Cecs130_lab_10__in_the_c++_programming_language_write_a_program_capable_of_playing_3d_tic-tac-toe.zip
File Size: 913.74 KB
Categories: capable, CECS130, language, playing, program, Programming, solved, Tic-Tac-Toe, Write
Tags: capable, CECS130, language, playing, program, programming, solved, Tic-Tac-Toe, Write
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.