Suljettu

Python checker

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.

Taidot: Koneoppiminen, Python, tietojärjestelmäarkkitehtuuri

Näytä lisää: counting number days dates javascript, python proxy checker, flash banner number counting, rhel install number python, counting characters word python, dial number using asterisk python, counting times number appears, flash number ticker counting, jquery xml counting number messages, counting times number occurs, javascript counting total number characters textarea, python checker, run python script every 5 minutes, how to download python 3.6.5 for windows 10, download python 3.6.5 version, python 3.6 5 64 bits download, when was python 3.6.5 released, python daemon 1.5 5, how to find the number of zeros at the end of a product, what is the number of zeros at the end of the product of the numbers from 1 to 1000

Tietoa työnantajasta:
( 0 arvostelua ) Indianapolis, United States

Projektin tunnus: #18932645

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

olaideejiwole

I have extensive experience in the domains of Natural Language Processing, Image Recognition & Artificial Intelligence'Trim,Recommender Systems,Machine learning,Data Minning, Deep Learning, Computer Vision, AI text ana Lisää

$30 USD 1 päivässä
(13 arvostelua)
4.5
JoBergs

Hello, i really like your project, but i have to say that i can't do it on the budget you specified. Checkers has quite complex game mechanics and will require custom data structures, thought-out game state retentio Lisää

$80 USD 3 päivässä
(11 arvostelua)
4.2
uzafar92

Hello, I am a data scientist from a renowned university pursuing a Master's degree. I have extensive experience in developing Machine Learning tools. I would love to work with you on your project of random walk. It lo Lisää

$50 USD 3 päivässä
(3 arvostelua)
3.8
aifisolutions

We specialize and have 20 years of experience in Desktop/Web/Mobile application development. We provide our expert service in the following areas: • Artificial Intelligence • Automation Solutions • Data Science • M Lisää

$133 USD 5 päivässä
(1 arvostelu)
3.2
cdesivo92

I have just started a project similar to this on my own, I will be glad to share it with you and adhere to your requirements. I am a mathematician and python developer with experience developing games in python. I als Lisää

$10 USD 7 päivässä
(2 arvostelua)
1.1
eecs93

My preferred method of freelancing is an interactive approach to project solving. I have an MSEE specializing in Digital Signal/Image/RF Processing. I do my work in MATLAB (expert).

$25 USD 10 päivässä
(1 arvostelu)
0.8
vytautaso

I can make such Python script which can simulate checker game using random walk bots. My code will be modular and will allow quick implementation of smarter game simulation if needed. Is it necessary to write code i Lisää

$25 USD 2 päivässä
(0 arvostelua)
0.0