Download
scrabble n.
Skip this Video
Loading SlideShow in 5 Seconds..
Scrabble PowerPoint Presentation

Scrabble

211 Vues Download Presentation
Télécharger la présentation

Scrabble

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

  1. Scrabble 310086186Polina Alex EviatarKhen039903000 Erez

  2. 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.

  3. 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

  4. 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

  5. Applying Extreme Programming • Pair Programming • Simple design • Refactoring • Continues integration • Collective ownership • 40 hour week

  6. Applying Extreme Programming • Test driven development

  7. 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

  8. 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

  9. Progress Report – schedule • Two weeks for a complete console application that includes all the required properties.

  10. DEMO