hw4 - state of the board and the side that is playing and(2...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
1 University of Southern California Daniel J. Epstein Department of Industrial and Systems Engineering ISE 582: Web Technology for Industrial Engineering Homework 4 (Due 2 October 2003) Instructor: Elaine Chew This is an exercise in creating a variation on the game of tic-tac-toe. Assume that your symbol is “X”. You win if a row, column or diagonal contains two X’s and one O. The opposite is true if your symbol is “O”. For example, a possible game is shown below: X X X O O O You should have the following methods: (1) a method that will chooses the best move based on the current
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: state of the board and the side that is playing; and, (2) a method for display a string representation of the current board so that you can see a game play-by-play. Please prepare TWO possible solutions, one using recursion, and one without. As usual, give a diagram of your classes and methods, and document your code using abstract classes and interfaces. You may choose to continue the extreme programming (XP) experiment or work solo on this assignment. E.C. 26 Sep 2003...
View Full Document

{[ snackBarMessage ]}

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