En cours

Urgent Python Small Project

I am looking for someone with experience in python to do the attached task today or maximum in 24 hours from now.

I am also giving the python source file to do the changes along with what needs to be done. if you are interested to do it soon then reply me asap.

[url removed, login to view]

You are to take the [url removed, login to view] program and make the following modifications.

1. You must write a function that draws the current state of the tictactoe board on a turtle screen. You can choose how you draw the tictactoe board and you can choose which symbols you use for the two players. You must invoke this function at the beginning of a game and every time that either player has made a move. This new function will replace thedisplay_board() function shown in the book. Each position that the player can move to must be at least 100 pixels by 100 pixels; the overall board display should be at least 300 pixels wide and 300 pixels tall.

2. You must invoke [url removed, login to view]() when the game is finished so that the window can be easily closed by clicking on the x in the corner.

3. You must modify the program so that two computerized players play against each other rather than having a human player playing against the computer.

4. Note: your program requires no input and produces no output. You should not print in this program at all. The only output is on the turtle screen.

5. You must put your entire program into a function called [url removed, login to view] (with no arguments). This will allow you to run the program (by invoking tictactoe()) from the command line multiple times.

6. Your program should display the final outcome of the game either “Player 1 won!” or “Player 2 won!” or “Game ended in a tie” on the turtle screen. (Use a turtle to write this message on the screen; check out the [url removed, login to view] function; display the outcome below the game using a font size of at least 14.)

7. Bonus (5 points): Display the player and the move, such as “Player 1 takes position 4”, for each turn. This text should disappear when the next move is taken (and the next player move is displayed).

8. Bonus (5 points): Instead of choosing a move by traversing through the BEST_MOVES tuple, as shown on page 184, extend the program so that it chooses the center (if its available), then chooses one of the four corners at random, then chooses one of the remaining positions at random. You’ll need to use the random module in order to choose a corner or a remaining position.

Compétences : Python

en voir plus : small project in python, project is closed, input board game, how to write out a book, computer beginning of time, center of a line, beginning of computer time, small project python, urgent c++ small project, urgent attached, turtle time, small-task-project, small python project, python, python to c++, python task, python project , python project 6, python program, python game

Concernant l'employeur :
( 0 commentaires ) India

Nº du projet : #1674037

1 freelance fait une offre moyenne de $120 pour ce travail


python Ninja. Ready to do the job Now! ;)

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)