1 / 10

Scrabble

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.

Télécharger la présentation

Scrabble

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related