teaching machines

Final Project – Cricket ScoreIt

December 20, 2011 by . Filed under cs491 mobile, fall 2011, postmortems.

For my final project I wanted to create an easy way to keep score for the dart game cricket.  My roomates and I play on a non-electronic, cork dartboard so we have to keep score in order to play (and who likes to do math!)  In the end I ran out of time to add a couple of features that I wanted, but the main functionality works in its entirity.

 

Users can select New Game (Load Game and Stats not yet implemented) which takes them to a game setup screen.  Currently the only mode that can be played is scoring which is played no matter which game type is selected (closeout is a special game my roomates like to play).  You then can enter each players name and start the game.  This then takes you to the scoreboard screen.

    

Players then take turns entering there scores.  The players who turn it currently is is highlighted in green.  Users can select any of the radio buttons before they press a value button to signify a single, double, or triple hit.  The scores that the user enters show up in red text on the bottom for the user to verify before they score it.  If they made a mistake, they can hit the undo button and it will erase the last score entered.  Once the score it button is pressed, it will add the marks to the appropriate players side, and add to there score if his opponent has not hit a number three times.  This goes back and forth until one player has hit each number 3 times and has a higher score.  A dialog is then popped up stating who won and propmting if a rematch is wanted.  If yes a new game with the same players is started, and if no the user is taken back to the main menu screen.