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 • Updates the Player status. 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
Progress Report – completed tasks • The goal was – A working primitive version • A working console board • A valid game course • A simple and small, set implemented, dictionary
Progress Report – uncompleted tasks (decreasing importance order) • Set premium cells for higher strategy moves • All the required properties from the exercise specification(save, undo/redo, ect.) • A complete database dictionary • A comprehensive tutorial for the game. • A computer player • A tip and strategy wizard
Progress Report – schedule • Two weeks for a complete console application that includes all the required properties.