Find Jobs
Hire Freelancers

encode/decode tic tac toe

$10-30 USD

Completed
Posted about 2 years ago

$10-30 USD

Paid on delivery
Preset code: def findWinner(boardList): # return 'X' if X wins, 'O' if O wins and '-' if no one wins pass def decodeBoard(nBoard): # nBoard is an integer representing a 9 digit base 3 number # 0 means '-' (no player in that spot), 1 means 'X' (X in that spot), 2 means 'O' (O in that spot) # boardList[0]=location (0,0) on board and is most significant digit, boardList[8]=location(2,2) on board # and is least significant digit boardList=[] nRemainder=nBoard # divide and subtract for digit in range(TODO): # todo :: modify the RANGE so it goes from 8 to 0 (inclusive) x = nRemainder / (3**digit) x = [login to view URL](x) nRemainder = nRemainder - ( x * (3**digit) ) # todo : add digit x to the boardList # ... return boardList if __name__=="__main__": # optional - add any test code here inside this block. we do this so that when the zyBooks tests includes # your files to call your functions directly that the testing code in this block is not invoked pass
Project ID: 32845729

About the project

5 proposals
Remote project
Active 2 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
Awarded to:
User Avatar
Hi, I've read your description carefully. I have full experience with Python I've also worked on several similar projects. So I can complete your project with high quality on time. Looking forward to hear more about the project from you via chatting. Thanks & Best regards!
$30 USD in 1 day
5.0 (4 reviews)
2.2
2.2
5 freelancers are bidding on average $29 USD for this job
User Avatar
===== Expert of Encode/Decode Tic Tac Toe using Python HERE ===== Dear Client! I am Andrei, experienced programmer from Russia. I have read your requirement and I noticed that I am appropriate to this project. As a skillful software developer, I have rich experience with Encode/Decode Tic Tac Toe using Python and built many projects like this. I promise I will finish this project with high quality on time. I hope you to contact me so that we have a full discuss with the project. Best regard!
$20 USD in 1 day
5.0 (2 reviews)
3.2
3.2
User Avatar
MASTERS IN SOFTWARE ENGINEERING PYTHON EXPERT HELLO DEAR CLIENT THIS IS FAST DELIVERY AND PROFESSIONAL SERVICES. I have gone through your project details and its very doable, just hit my inbox and we shall discuss on it further. CHEERS
$40 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am a computer science student at carleton university. I have lot of experience of python. If you want me to do your project please let me know.
$25 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
PHILADELPHIA, United States
0.0
0
Payment method verified
Member since Feb 6, 2022

Client Verification

Other jobs from this client

Fixing Code
$10-30 USD
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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.