Question: he purpose of this programming project is to write a C++ program to play a simplified version of The aMAZEing Labyrinth. This is a competitive
he purpose of this programming project is to write a C++ program to play a simplified version of The aMAZEing Labyrinth. This is a competitive tile shifting game, in which two players take turns sliding tiles into perpendicular lanes on the board. In our case one of the players is the computer plays random moves. The tiles have vertical lines, horizontal lines, or crosses on them. The goal is for one player to create a continuous path in one of the lanes using the lines in the tiles from their side of the board to the opposite side. The first player to do so wins. 




Thank you !
PROGRAM DESCRIPTION: The purpose of this programming project is to write a C++ program to play a simplified version of The aMAZEing Labyrinth. This is a competitive tile shifting game, in which two players take turns sliding tiles into perpendicular lanes on the board. In our case one of the players is the computer plays random moves. The tiles have vertical lines, horizontal lines, or crosses on them. The goal is for one player to create a continuous path in one of the lanes using the lines in the tiles from their side of the board to the opposite side. The first player to do so wins. REQUIREMENTS . You must organize your program into three files euidHW4func.h This file will contain the include directives for the necessary libraries, any enumerated data types, any type definitions, any structure definitions, and the list of function prototypes (i.e. function declarations) euidHW4main.cpp This file will contain the local include directive for the header file as well as the main function for the program euidHW4func.cpp This file will contain the local include directive for the header file as well as all function definitions (except the main) used in the program o o o o Be sure to replace euid with your EUID As with all homework programs in this course, your program's output will initially display the department and course number, your name, your EUID, and your email address Define an enumerated type to store the different tile types that can be on the board . CROSS HORI ZONTAL o VERTICAL LOCKED EMPTY Define an enumerated type that represents two colors, RED and BLUE. This will keep track of each player's game pieces. Define a structure (i.e. struct) to represent a tile that contains the tile's enumerated type, its enumerated color, and an integer value representing which lane it is in Inside the main ), you will need to declare a two-dimensional, dynamic array representing the 7-by-7 board the tiles will be placed in To initialize the board, you will need to define a function that takes in the two-dimensional board and its size. Remember that the size should not be a global constant, so you will need to use pointers for the array
Step by Step Solution
There are 3 Steps involved in it
To implement the simplified version of The aMAZEing Labyrinth game in C follow these steps for structuring your code based on the provided requirement... View full answer
Get step-by-step solutions from verified subject matter experts
