The Dynamics of the “Noughts and Crosses” Game - IT Assignment Help

Download Solution Order New Solution
Assignment Task:

Board 

The game takes place on a 10X10 squared board. The dynamics of the “Noughts and crosses” game consists of each player entering their symbol in the chosen row-column, so that they manage to place a certain number of symbols consecutively in the same direction. The direction can be horizontal, vertical or diagonal. The first player who manages to place N consecutive symbols in any of these directions will be considered the winner, and will obtain a score. The fewer number of symbols used, the higher the score will be. 

The program has a menu with 4 options. In the first option the players have to set up the system. After that, the game can start. Players take turns to position a symbol in the desired row and column, provided that the square is empty. The first player moves first, the second later and so on until the game ends or they decide to quit. The game ends, as indicated, when a player manages to have N number of consecutive symbols in the same direction or the board is complete. 

Each player will have a symbol that identifies them. The number of players will always be equal to two: 

- Player 1: O 

- Player 2: X 

When the game ends, the program will store the scores of both players and it will ask if the players want to play again. In this case, a new game will start; otherwise, the game is over and the system will return to the menu. 

Program 

You have to create a program that shows a menu to start the game and allow users to choose from: 

a) “1: Configuration”. It is the first option of the game. In this option the player must set up the game (player names, the number of consecutive symbol required to win) 

b) “2: Play”. It is the second option of the game. In this option players play “Noughts and crosses”. 

c) “3: Record”. It is the third option of the game. The system will store the player names and their scores in a file. 

d) “4: Game over”. It is the fourth option of the game. It allows you to exit the game. 

 

This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.