Requirements specification
Functional Requirements
GUI
1. The program should work on a cellular phone with MIDP
2. The program should work on a 240 x 389 pixel canvas
3. The program should work on 8 MB of memory
4. The user should interact through the buttons of the phone
5. The user should be able to select a chosen number of dice
6. The usr should be able to deselect an already selected die
7. There should be an indication which dice are selected
8. The user should be able to reroll selected dice
9. The user should be able to end the turn
10. The score of the user and contestants should be displayed
11. The user should have two displayes of scores visible:
11.1 One display should show the score from previous turns
11.2 One display should show the score of the current turn
12. The use should be notified if he "busts"
13. The user should be able to pick between one and three contestants
14. The user should be able to choose difficulty of each contestant
15. The user should be able to pick a winning score
16. The user should always be able to end the game
17. The rolled dice will only give points once per reroll
18. The user will always start
19. As soon a player ends a turn with enough score, he will win
20. The program should be in English
21. The random player should have a 50/50 percent chance whether he ends the
turn or keep playing
22. The coward should have a 90/10 percent chance whether he ends the turn or
keep playing
23. The gambler should have a 10/90 percent chance whether he ends the turn or
keep playing item The clever players moves should depends on the strongest
contestant
24. The clever player should have three different behaviours:
24.1 If he is leading, he should play more risky
24.2 If they have similar score, he should play more careful
24.3 If he is loosing, he should play even more risky
Non-functional requirements
25. Every computer player should have finished its move in 10 seconds
26. After reading the manual, the user should be able to start, play and end the
system independently
27. The program should start in 30 seconds
28. The code should follows Suns coding standard
29. The code should be in English
Inga kommentarer:
Skicka en kommentar