Find Jobs
Hire Freelancers

Python checker -- 2

$10-30 USD

Lukket
Slået op cirka 5 år siden

$10-30 USD

Betales ved levering
Note: This is not an exercise in determining strategy or teaching an AI to play Checkers. We are just practicing Random Walks in a fun example! Don't stress if your game doesn't seem to get anywhere. As you got through the steps below you may find it useful to redefine your work done in previous steps. In that case, go ahead and copy the cell down and make your changes. Use markdown to indicate each step. 1) Create classes to represent the necessary objects for gameplay. This will include, at least, the game board, the two types of pieces and the two sides. You will need to determine the best way to represent the relationship between them. 2) Set up one side of the board. Print the status of the board. 3) Execute 10 turns. On each turn randomly select a piece that can move (see rules above) and move it. If a piece reaches the opposite King Row elevate it from a Single to a King. Print the status of the board. 4) Reset the board and set up both sides. Execute 10 turns, same as above. This time you have to have your Jump method working. Print the status of the board 5) Reset the board and play a game with a maximum of 100 turns (it is possible we could end up with a couple of drunk Kings meandering around the board.) Print the winner and final board. If the maximum number of turns is reached the winner will be the side with the most pieces counting Singles as 1 and Kings as 2.) If that is a tie we will call the game a draw. Bonus) Write a simulation to determine whether it is advantageous to go first when you don't have a strategy Note: Please find the attachment to understand game and rules You will want to make sure you are not trying the same piece more than once a turn, or testing moving the same direction more than once for a piece. That is called selection without replacement. A handy way to do this is to use [login to view URL] to randomize your list and then iterate through it until you have either had success or exhausted your possibilities.
Projekt-ID: 18932746

Om projektet

3 forslag
Projekt på afstand
Aktiv 5 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
3 freelancere byder i gennemsnit $25 USD på dette job
Brug Avatar.
Writing Invaders is a group of independent professional writers and website developer and scholars from everywhere throughout the world. Together, we give best quality aid to secondary school, undergraduate, Masters and Ph.d. programs. 1. Academic writing 2. Article/content/blog writing 3. Product description writing 4. Transcription writing 5. Logo designing 6. Autocad 7. Audio recording/voice recording 8. Picture illustration 9. SQL 10. Web Development and designing 11. Book designing We are honored with a group of experienced online scholarly scholars who have capability in English dialect, alongside assorted subject information of Finance, Marketing, Accounting, Management, Statistics, Human Resources, and Information Technology oour expert writers promise to convey brilliant quality in a manner that you need at most dependable valuing alongside a few different profits and administrations
$30 USD på 1 dag
4,9 (15 anmeldelser)
4,4
4,4
Brug Avatar.
Hello, Thank you for posting the project. I have checked the requirement and I will deliver the best results.I have the necessary technical skill and experience to do the project and I will be glad to get the opportunity to work for you. Kindly contact me through chat. Looking forward. Thank you.
$30 USD på 2 dage
4,6 (4 anmeldelser)
2,6
2,6
Brug Avatar.
I have been coding in games, AI, and python for over 10 years. I can complete this task for you very rapidly and correctly with no issue and with contact all the way through. As well as providing clear and quality documentation.
$15 USD på 1 dag
5,0 (1 bedømmelse)
1,6
1,6

Om klienten

Flag for UNITED STATES
Indianapolis, United States
0,0
0
Medlem siden mar. 12, 2019

Klientverificering

Andre jobs fra denne klient

Python checker
$10-30 USD
Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.