In this laboratory exercise you will build an interactive game program for two players. The purpose of the assignment is to demonstrate how choices of data structures and the type of user interface can direct program development. YUGO is played on a 4x4 square board. Each player starts with four pieces placed in their first row as shown below.
Players take turns moving one of their pieces, one position in any direction.
A piece may be moved into any unoccupied square adjacent to its current position. The first player to get a piece in the first row of the oppoent wins the game. Your program must display the board, provide a means for players to move, and recognize valid moves and when there is a winner. You may build a standard text mode interface, an interface using the NT Console package , or your may build a graphics interface using Adagraph . The NT Console package can be downloaded and placed in the directory with your source code.