summaryrefslogtreecommitdiff
path: root/doc/uidesign.txt
blob: 2db66aeac79ce14bd4dac2b4790892ed5c1ed265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  Table Cards:   Pts: | Current state:        Your Score:  10                   |
+-+-+-+-+-----+       |  Player      Card  |  Player      Card                  |
| | | | | 101 |       |  $you         10   |  blablub123   15                   |
| | | | |  *  |    7  |  1234567890   23   |  abcdefg     103                   |
| | | | |     |       |  baz          38   |  hello        98                   |
+-+-+-+-+-----+       |  foo_bar      14   |  hornoxe      33                   |
+-+-+-----+           |  lolcat       60   |  1337nick     74                   |
| | |  53 |           |                                                         |
| | |  *  |        9  | Hints for player                                        |
| | |     |           |                                                         |
+-+-+-----+           | Hand Cards:                                             |
+-+-----+             | +-----+ +-----+ +-----+ +-----+ +-----+                 |
| |  55 |             | |  12 | |  13 | |  22 | |  25 | |  27 |                 |
| |** **|          8  | |  *  | |  *  | |* * *| | * * | |  *  |                 |
| | *** |             | |     | |     | | * * | |     | |     |                 |
+-+-----+             | +-----+ +-----+ +-----+ +-----+ +-----+                 |
+-+-+-+-----+         | +-----+ +-----+ +-----+ +-----+ +-----+                 |
| | | |  42 |         | |  69 | |  77 | |  85 | | 100 | | 103 |                 |
| | | |  *  |     10  | |  *  | |* * *| | * * | | * * | |  *  |                 |
| | | |     |         | |     | | * * | |     | |  *  | |     |                 |
+-+-+-+-----+         | +-----+ +-----+ +-----+ +-----+ +-----+                 |
                                                                                |
                                                                                |
                                                                                |
--------------------------------------------------------------------------------+

== Description ==
Current state: List of players and their selected cards
Hand Cards: The player's hand cards sorted in ascending order
Table Cards: Four card stacks growing from right to left, showing the uppermost/highest card
Stack Points: For each table card stack it shows the sum of points of all cards on the stack


== Things that are to do ==
TODO: Sort table every round by lowest cards after players selected/revealed the cards
TODO: Player Hints: Will be used to tell the players whose player's turn it is. The player himself will be instructed what is to do (play a hand card and then possibly pick a stack from table)

DONE: Use colored borders/numbers/stars to distinguish cards and for a nicer UI look.
DONE: A selected card and a selected stack should be displayed as bold text.
DONE: Display revealed cards next to nicks after all players have chosen their cards.
DONE: Table captions will be printed bold.
DONE: Highlight current player (who is choosing a stack) by coloring its line.