assembly language tic tac toe

Tic Tac Toe Game

1. The game is played on a grid that's 3 squares by 3 squares.

2. You are X, your friend (or the computer in case) is O. Players take turns putting their marks in empty squares.

3. The first player to get 3 of his / her marks in a row (up, down, across, or diagonally) is the winner.

4. When all 9 squares are full, the game is over. If no player has 3 marks in a row, the game ends in a tie.

Features of the program:

In main screen, player can select the game type. (Playing against computer or player against another player). In all cases, players’ name will be typed.

Player vs Computer

Player vs Player

After typing the names, the board will be loaded. You may design the board using extended ASCII table in any way.

First player will be selected randomly and game starts with the first player move. First player always uses X.

You can use arrow keys to place cursor to enter the marks, or you can ask to players the coordinates, that he/she wants to put the marks, with appropriate messages. Any invalid entry sounds a beep by writing ASCII 7 to standard output.

At the end of the game, you should print one of the following messages according the result of the game;

“Player XXX wins!”, “Computer wins”, or “Cat Game”

In addition, you should store the results that show how many times the players or computer won the game.

At the end of each game, you have to ask, “Do you want to play again?”


• You cannot use the directives (If, while and repeat), but you can use the procedures and macros in Irvine32 library.

• Any invalid entry sounds a beep.

• Players cannot select the place used before.

• If you use artificial intelligence for computer’s decision, you get bonus.

• In addition to your program, you will prepare a report related to your work, including how your program works, used procedures etc.

Compétences : Design publicitaire

Voir plus : assembly language tic tac toe, tic tac toe assembly language, irvine32 assembly language tic tac toe, tic tac toe game assembly language, print tic tac toe board screen assembly language, writing vs typing, writing use cases, writing the result at table, writing macros, writing a computer program, toe design, the language of design, rules of report writing, rules for report writing, report writing rules, report writing procedures, put down in writing, procedures in writing a report, how many use cases should you have, design intelligence, cat writing, assembly board, tic tac toe using assembly language, how to program artificial intelligence, how artificial intelligence works

Concernant l'employeur :
( 0 commentaires ) Turkey

N° du projet : #1083715