Business Programming

Course announcements for INFS1609 and INFS2609

Business Programming random header image

Lab Week 10 – Scrabble

Posted by on September 23rd, 2012 · Labs

Consider the game of Scrabble.

  1. List all the data involved in representing the game. Be thorough.
  2. How might this data be divided into abstract chunks? What idea does each chunk represent?
  3. Draw a flow chart of the game play. Break it up into methods of different levels of detail.
  4. How do these methods associate with the chunks of data above.
  5. Design a collection of classes representing these chunks. What fields and methods do they have?
  6. How many objects of each class will you need to create? How will they connect to each other?
  7. Write the main method of your game. It should:
    1. Create the objects.
    2. Start the game.
  8. Write method signatures for the other methods you will use. Do not write the code, just decide on what the necessary chunks are at each level of detail.
  9. Write “pseudocode” comments in each method describing the steps it should take and the other methods that it should call.
  10. Challenge: Write the complete game.

 

No Comments so far ↓

Comments are closed.