10
Polina Alex Eviatar Roey Andrea Erez

Polina Alex Eviatar Roey Andrea Erez. For those that heard but don’t know exactly: Scrabble is a word game for two and more players on a square board

Embed Size (px)

Citation preview

Polina

Alex

Eviatar

Roey

Andrea

Erez

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.

The main class - Game • Contains the main method.• Create the board and the players.• Contains the main loop of the course of

the game.• Print to the console the game status

The Board Class• Updates the board, and prints his current

status to the console.

The Player Class• Updates the Player status.

The Dictionary Class• Holds the game’s dictionary that accept the

suggested words

StoryResponsibility of

Time (hours)

Completed(yes/no)

The user will start the application and a blank Scrabble board with an random noun in the middle of it will be printed on screen

Eviatar + polina +Alex

3yes

The user will press the key ‘q’ and will exit the application after printing the winner and his score

Eviatar + polina

0.2yes

The user will press the key ‘t’ and he could change up to three letters he have with random letters from the letters sack

Eviatar + polina

3yes

Planning Game(1)Planning Game(1)

StoryResponsibility of

Time (hours)

Completed(yes/no)

The user will press the key ‘w’ and he could place one letter on an empty cell on board witch one of his sides overlap with an non empty cell

Eviatar +Polina

3yes

After placing the letter the user will announce a word he composed. If the word is valid then his score will be added as the length of the word. If the word is not valid, then he gets his letter

Eviatar +Polina

3yes

A dictionary that will check if the word is valid

Alex2yes

Planning Game(2)Planning Game(2)

The goal was – A working primitive version

A working console board A valid game course A simple and small, set implemented,

dictionary

(will be completed for next iteration)- Placing letters on board as much as the

player wants(and have) instead of just one letter.

- Score will not be fixed and would be proportional of the distribution of the letter in the language.

- Record Score table will be presented at exit- Help screen will be available.- Saving and loading a game.- The user can choose to extend “home

rules” from a given set of rules.

Pair Programming Simple design Refactoring Continues integration Collective ownership 40 hour week

Test driven development