Tic Tac Game in Visual Basic

profileekbgi
VBQuestion.docx

Instructions

All submission of coursework will be online via Turnitin on the module's Moodle site.

The Roehampton Harvard Referencing system should be used for any resources used as part of your research.

Use appropriate academic sources, referenced in accordance with the University of Roehampton’s Harvard Referencing guidelines:

http://libguides.roehampton.ac.uk/ld.php?content_id=28217031

Formatting

· Arial. Size 12

· Word document (not a pdf)

· 1.5 line spacing

This assignment will assess the following module learning outcomes:

1. An appreciation of the use of pseudo code in the development of computer software and from this to be able to develop relevant algorithms and to design relevant data structures to solve a range of different practical problems.

1. An appreciation of the broader study requirements of a computing degree course and be able to decide if such a programme of study is appropriate for them.

You should include screen shots of code and running VB application.

Question

This assignment is based on one question. The question requires designing and developing a Tic Tac Toe (noughts and crosses) game.

Create a project called Tic_Tac_Toe. It should contain a form with fields similar to:

Requirements

Requirements

Marks

Guidance

Pseudocode

10

Produce Pseudocode detailing the steps your algorithm takes in the correct order of sequence.

Should be turn based

20

The game should be between 2 players (Human vs Human). Using buttons and labels the game should allow for a turn based approach. Once a player has chosen a button, a naught or cross should appear on the button’s text and the button should be disabled.

Score board

10

A score board should keep track of player 1 and 2 wins and draws

Declare a winner or a draw

20

When one of the players wins by getting 3 of their chosen noughts or crosses either horizontally, vertically or diagonally, the program should stop the game and announce the correct winner and allow the user to start the game again with the player who was to play next before the win was announced allowed to play first.

(60 Marks)

2 | Page © 2017 Roehampton University