Find Jobs
Hire Freelancers

python expert needed in doing programming

₹100-400 INR / hour

Lezárt
Kiadva ekkor: több mint 8 évvel ezelőtt

₹100-400 INR / hour

Description: For project 4 let’s build a text-based Tic Tac Toe program. After each player moves, re-display the new board. Let’s have users enter a row number and a column number to put their X or O on the board. We want the program to determine the winner or a draw. We also want the program to enforce the rule that a player can only put his X or O in an empty position. I would also like the option to have 2 humans play or have a human play against the computer. Sample 1 This program will play tic tac toe. Enter 1 for a 1-player game. Enter 2 for a 2-player game. >> 1 cols 1 2 3 r 1 | | o -+-+- w 2 | | s -+-+- 3 | | Player 1 enter the row number of where you would like to go? >> 1 Player 1 enter the column number of where you would like to go? >> 2 cols 1 2 3 r 1 |X| o -+-+- w 2 | | s -+-+- 3 | | Computer’s turn. cols 1 2 3 r 1 |X| o -+-+- w 2 |O| s -+-+- 3 | | Player 1 enter the row number of where you would like to go? >> 2 Player 1 enter the column number of where you would like to go? >> 2 Error: Someone has already gone there. Please try again. Player 1 enter the row number of where you would like to go? >> 2 Player 1 enter the column number of where you would like to go? >> 3 cols 1 2 3 r 1 |X| o -+-+- w 2 |O|X s -+-+- 3 | | Computer’s turn. cols 1 2 3 r 1 |X| o -+-+- w 2 |O|X s -+-+- 3O| | Player 1 enter the row number of where you would like to go? >> 4 Error: You can only enter a value from 1 to 3. Player 1 enter the row number of where you would like to go? >> 3 Player 1 enter the column number of where you would like to go? >> 3 cols 1 2 3 r 1 |X| o -+-+- w 2 |O|X s -+-+- 3O| |X Computer’s turn. cols 1 2 3 r 1 |X|O o -+-+- w 2 |O|X s -+-+- 3O| | The computer won! Game over! Hints: Here are some hints. Begin slowly and create and test different pieces of the software; don’t just try to build it in one sitting. Use function decomposition to break the problem (and program) into smaller manageable pieces. I will give additional hints in future weeks. Turn In: 1. Turn in the program source code as a .py file. Grading Criteria: This program is worth 100 points. Points will be distributed via the following table: · The program draws the board correctly. (10 points) · The program prompts the user for a row and column. (10 points) · If a user enters an incorrect row or column number, the program lets them re-enter it. (10 points) · The program places the correct symbol (X or O) in the correct position. (10 points) · The program prevents a user from placing their symbol on a non-empty position. (10 points) · The program correctly identifies a winner. (10 points) · The program correctly identifies a draw. (10 points) · The program simulates a computer opponent correctly. (10 points)
Projektazonosító: 9110302

A projektről

15 ajánlat
Távolról teljesíthető projekt
Aktiválva: 8 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
15 szabadúszó adott átlagosan ₹306 INR/óra összegű árajánlatot erre a munkára
Felhasználó avatár
A proposal has not yet been provided
₹263 INR 3 napon belül
4,7 (7 értékelés)
3,4
3,4
Felhasználó avatár
I have the code ready for two players. other features we can add. let us discuss this over messages. Awaiting for your message!!! Thank you!!!
₹100 INR 3 napon belül
5,0 (3 értékelés)
2,2
2,2
Felhasználó avatár
Hello, I have experience in programming using python 3. I can build the tic tac toe program as required. PM for discussions.
₹333 INR 20 napon belül
4,4 (4 értékelés)
2,0
2,0
Felhasználó avatár
Hi, my name is Arian. Lately I've been programming almost exclusively on Python, and the project you are offering is very simple, I could do it in a couple of hours, and give it to you pretty fast. I think my offer is pretty good. Anyway, thanks in advance, hope you have a great day. Arian.
₹277 INR 3 napon belül
5,0 (5 értékelés)
1,7
1,7
Felhasználó avatár
A proposal has not yet been provided
₹300 INR 6 napon belül
5,0 (1 értékelés)
1,3
1,3
Felhasználó avatár
I've got experience working in both Java and Python. Recently working as Python developer. I've designed and developed this game in past, and thus I guess I would be good fit for this.
₹333 INR 8 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
I may be new to freelancing but can assure you that I have more than 12 years of industrial experience and problems of this scale would be trivial to achieve.
₹100 INR 3 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
A proposal has not yet been provided
₹249 INR 8 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
I am a a beginner nd pretty much interested in development !! I need one chance to show my skills !!
₹166 INR 3 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
A proposal has not yet been provided
₹111 INR 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
I have a working version of the game done, taking four hours. I can turn it in for your testing immediately, to ensure it reaches your standards.
₹100 INR 5 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hello, I would like to sell my script to you. I've already made that program, and the only thing is that it doesn't have artificial intelligence, so you can't play versus computer. So, I'm offering to you a script that doesn't have artificial intelligence. Also, I could do it, but for more money. If you decide to buy my script I can give it to you right away. Also, before you pay I will demonstrate it to you via Skype, and I guarantee you that I didn't sold my script to anyone before. It's genuine and original. I hope that you will choose my script for your project. Kind regards, Tomislav Sablić
₹1 500 INR 2 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

INDIA zászlója
Calcutta, India
4,6
121
Fizetési mód hitelesítve
Tagság kezdete: jan. 29, 2011

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.