-
Notifications
You must be signed in to change notification settings - Fork 0
Sprint 1
Kyle Gottfried edited this page Aug 22, 2020
·
4 revisions
- Determine which cards are in players hands.
- Determine what is in the classified folder
Develop Entity (Tables) Diagram that let's us know the cards that are in the game- Design the arrays that will store current users cards and the classified folder
Start:
- Press "new rumor" button or enter "new rumor"
- Computer asks for identity of player making rumor
- Enter or select player making rumor !. computer asks for items that make up rumor !. enter or select equipment in rumor
- Computer aks for each player if that player is answering the rumor
- if no, then moves onto next player until no more players
- if yes, User is prompted for input
- If user made rumer, enter card shown to user
- If user did not make rumor label card as maybe
Characters | Weapons | Rooms | |||||
---|---|---|---|---|---|---|---|
CharacterId | Name | WeaponId | Name | RoomId | Name | ||
00 | Mustard | 00 | Pistol | 00 | Spa | ||
01 | Green | 01 | Rope | 01 | Theatre | ||
02 | Scarlet | 02 | Candle Stick | 02 | Patio | ||
03 | Peacock | 03 | Knife | 03 | Dining Room | ||
04 | White | 04 | Axe | 04 | Hall | ||
05 | Plum | 05 | Poison | 05 | Kitchen | ||
06 | Bat | 06 | Guest House | ||||
07 | Dumbell | 07 | Observatory | ||||
08 | Trophy | 08 | Living Room |
Players | WeaponStatus | RoomStatus | CharacterStatus | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | Name | WeaponId | PlayerId | RoomId | PlayerId | CharacterId | PlayerId | |||||||||
0 | Peter | 0 | 1 | … | 0 | 1 | … | 0 | 1 | … | ||||||
1 | Philip | 0 | Cond {-1,0} | Cond {-1,0} | … | 0 | Cond {-1,0} | Cond {-1,0} | … | 0 | Cond {-1,0} | Cond {-1,0} | … | |||
2 | Mary | 1 | Cond {-1,0} | … | … | 1 | Cond {-1,0} | … | … | 1 | Cond {-1,0} | … | … | |||
… | … | 2 | … | … | … | 2 | … | … | … | 2 | … | … | … | |||
… | … | … | … | … | … | … | … | … | … | … | … |
Characters | Weapons | Rooms | Conditions | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Name | Type | Name | Type | Name | Type | Name | |||
Integer | CharacterId | Integer | WeaponId | Integer | RoomId | Weapon.ID | Weapon ID | |||
String | Name | String | Name | String | Name | Player.ID | Player ID | |||
Condition | no, unknown, maybe, yes | |||||||||
Condition.ID | Int |
- Created entity diagrams and dynamic arrays
- Work out mathematics
- Enter entity diagrams into python code
- Possibly do python for dynamic arrays
- Look into creating class diagrams