Build a program using [login to view URL] to write a tic-tac-toe program . Description below.

Using the flat assembler (fasm), write a program that plays tic-tac-toe against the computer. Below is a sample game loop. It assumes the player is X and computer is O with the player making the first move.


call printBoard

cinvoke printf, "Your move (1-9)? "

cinvoke scanf, "%d", Square

call placeX

call checkXWin

call checkForDraw

call computerMove

call checkOWin

jmp gameLoop

For the computerMove, you could simply place an O in the first available square, select a random square, or do these steps:

1. check if computer "O" can win


2. check if computer can block player "X" from winning


3. select a random square to move into

Example output

Welcome to x86 Assembly Tic-tac-toe!

You will be X's and the computer will be O's.

The squares are number 1 - 9 starting with the top left.

| |


| |


| |

Your move (1-9)? 5

| | O


| X |


| |

Your move (1-9)? 1

X | | O


| X |


| | O


Навыки: Программирование на С, x86/x64 Assembler, Ассемблирование, Программирование на C++, Java

Показать больше: create tic tac toe using turbo documentation, tic tac toe using ajax php mysql, tic tac toe java program, tic tac toe using jframe, tic tac toe code using jframe, using solve tic tac toe, using genetic programming solve tic tac toe, tic tac toe using assembly language, client server tic tac toe java program code, write tic tac toe small basic, tic tac toe source code using class, tic tac toe java code using 2d array, tic tac toe c++ program against computer, tic tac toe c program against computer, tic tac toe c++ code using classes, tic tac toe gaming application using c++ programming, tic tac toe in python using lists, tic tac toe in c++ using functions

О работодателе:
( 31 отзыв(-а, -ов) ) Dallas, United States

ID проекта: #30954769

7 фрилансеров(-а) готовы выполнить эту работу в среднем за $34


Hello, I can write the program you requested. Please contact me to discuss details. Thank you

$50 USD за 2 дней(-я)
(154 отзывов(-а))

hello sir i can do your project using fasm under linux when i complete it you can check and then you can accept my bid feel free to message me :)

$50 USD за 1 день
(143 отзывов(-а))

hello, I have seen that you need an experienced C++ expert for . I am a professional C++ expert with more than 10 years experience. I have carefully understood your project requirements am sure that, I can do your Больше

$30 USD за 5 дней(-я)
(2 отзывов(-а))

!!! Hi, I'm Jin !!! I know your project has been closed now. Please ping me, I'm waiting for you. I have read your all description carefully and I understand your requirement. So I think I can deliver you good result. Больше

$10 USD за 7 дней(-я)
(2 отзывов(-а))

Hello i can handle this type of job for [login to view URL] free to message me. i will do my best in job for sure

$25 USD за 1 день
(1 отзыв)

Hello,dear I'm a senior game developer and assembly expert. I can complete this project perfectly. Let's contact and discuss with me. Best regards in.

$50 USD за 1 день
(1 отзыв)

Special greetings to you dearest person. To me, this appears as a simple task as I have worked a lot in x86 Assembly language. I’m aware about how the task has to be done. I have the logic, just need to code it, may ta Больше

$25 USD за 2 дней(-я)
(0 отзывов(-а))