Presentation is loading. Please wait.

Presentation is loading. Please wait.

Team 9 - Scribacious Rabble

Similar presentations


Presentation on theme: "Team 9 - Scribacious Rabble"— Presentation transcript:

1 Team 9 - Scribacious Rabble
Software Design William Hess Paul Rosswurm Mitch Erdbruegger Ben Kobin 1

2 Project Description Adaptation of the board game SCRABBLE®
Maintains the traditional physical tile interface... augmented by .. Sensing tile location and value Automatically calculating and displaying scores Maintaining player profiles Validating words in the event of a 'challenge' Exposing game stats over an external interface 2

3 PSSCs An ability to sense the presence and identity of a tile placed on the board. An ability to record game specific metrics for a set of player profiles. An ability to use a standard dictionary to allow a player to challenge the validity of the last word played. An ability to display game relevant information to each player and allow one user to input game settings. An ability to communicate game statistics over an external interface. 3

4 Block Diagram 4

5 Interfaces SPI (x4) Input Capture (x15) LCD
Micro SD (FAT 16 file system) 4-wire mode Input Capture (x15) Simple Capture Mode USB

6 Considerations Main program will be flag-driven Memory Considerations
Setup, End Game, USB Transfer Piece Detection: Challenge/End Turn inputs Memory Considerations 24 kB Program Memory 170 kB Data Memory Variables LCD Buffers (1kB per) gameboard (215 bytes)

7 Code Hierarchy

8 Game Flow startGame(): Input player names
Pseudo-random starting player gamePlay() loop: Check player’s skip value (if skipped, decrement and goto nextplayer) While piece not on board and End of Turn not pressed Check Challenge Button – goto challenge() commit last play while End of Turn not Pressed Continuous piece detection using input capture update player score put last played word & location in buffer player = nextPlayer gameEnd(): Calculate final scores Read player data from SD and write new updated stats Display winner and career stats challenge() search dictionary on sd for word(s) in buffer remove player’s last score or increment challenger’s skip value

9 Code Progress SPI initialize(), sendByte(), getByte() Working LCD
initialize(), writeLine(), invertLine() FileSystem openFile(), readFile(), writeFile() Working, Refining SD Working using Library, USB Adapting Library Input Caputure Logic Pseudocode Main gameSetup(), gamePlay(), gameEnd() transferData()

10 Questions?


Download ppt "Team 9 - Scribacious Rabble"

Similar presentations


Ads by Google