Find Jobs
Hire Freelancers

Build a program using fasm.asm to write a tic-tac-toe program . Description below.

$10-30 USD

Closed
Posted over 2 years ago

$10-30 USD

Paid on delivery
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. gameLoop: 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 else 2. check if computer can block player "X" from winning else 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 Etc.
Project ID: 30954769

About the project

7 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $34 USD for this job
User Avatar
Hello, I can write the program you requested. Please contact me to discuss details. Thank you
$50 USD in 2 days
5.0 (154 reviews)
6.3
6.3
User Avatar
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 in 1 day
5.0 (143 reviews)
6.2
6.2
User Avatar
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 project in very professional way. I have some more questions ,lets discuss the details in chatbox thank you
$30 USD in 5 days
5.0 (2 reviews)
2.6
2.6
User Avatar
!!! 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. Best regards
$10 USD in 7 days
4.7 (2 reviews)
1.8
1.8
User Avatar
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 in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
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 take a day. I have kept the extension till 2 days in case of an emergency, otherwise I can deliver your work by tomorrow. Everything will be working perfectly and desirably, count it as a promise!
$25 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Dallas, United States
5.0
31
Payment method verified
Member since Sep 13, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.