USING PYTHON PROGRAMMING1) Create classes to represent the necessa.docx

This preview shows page 1 - 3 out of 4 pages.

Image of page 1

Subscribe to view the full document.

USING PYTHON PROGRAMMING 1) Create classes to represent the necessary objects for game play. 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 setup 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) Write a simulation to determine whether it is advantageous to go first when you don't have a strategy Rules and Game Checkers is a simple game. It is played on a 8x8 square board. By convention, the squares alternate between a dark and light color with the bottom left corner dark. Checkers is
Image of page 2
Image of page 3
  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes