Scrabble

1 / 10

# Scrabble - PowerPoint PPT Presentation

Scrabble. 310086186 Polina Alex Eviatar Khen 039903000 Erez. Who doesn’t know Scrabble ?. For those that heard but don’t know exactly: Scrabble is a word game for two and more players on a square board with 15-by-15 grid of cells(one cell for one letter.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### Scrabble

310086186Polina

Alex

EviatarKhen039903000

Erez

Who doesn’t know Scrabble ?
• For those that heard but don’t know exactly:
• Scrabble is a word game for two and more players on a square board with 15-by-15 grid of cells(one cell for one letter.
• Points are scored by forming words across and down.
• Word must appear in a standard dictionary.
• The game contains 98 letters with different score(1 to 10) and 2 “jokers” with no scores.
• Each player has 8 letters at each stage until the sack is empty.
• On each turn a player can pass OR exchange letters OR place a words on the board.
• If a placed word is not accepted, the player gets the letters back and lose his turn.
• The game ends when one player used all his letters OR when all the players agree about it. The player with the highest score wins.
General Design

The main class - Game

• Contains the main method.
• Create the board, the dictionary and the players.
• Contains the main loop of the course of the game.
• Print to the console the game status
Other Classes

The Board Class

• Updates the board, and prints his current status to the console.

The Player Class

The Dictionary Class

• Holds the game’s dictionary that accept the suggested words
Applying Extreme Programming
• Pair Programming
• Simple design
• Refactoring
• Continues integration
• Collective ownership
• 40 hour week
Applying Extreme Programming
• Test driven development
• The goal was – A working primitive version
• A working console board
• A valid game course
• A simple and small, set implemented, dictionary