-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbonuses.txt
More file actions
38 lines (24 loc) · 1.36 KB
/
Copy pathbonuses.txt
File metadata and controls
38 lines (24 loc) · 1.36 KB
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
BONUS CHALLENGE FORM
--------------------
For each bonus challenge you have implemented, please replace the sentence "We are not entitled to this bonus."
with a short description of:
1. How it was implemented in your code
2. Where it was used (in which class methods).
3. How you tested that it is working correctly.
--------------------
1. Fully supporting all configuration fields and avoiding the use of magic numbers
We are not entitled to this bonus.
--------------------
2. Terminating all threads (that you created) gracefully and in reverse order to the order they were created in.
We are not entitled to this bonus.
--------------------
3. Handling the config.turnTimeoutMillis value as follows:
config.turnTimeoutMillis < 0: display nothing.
config.turnTimeoutMillis = 0: display a timer since the last action (reshuffle or set collected).
Note: in modes without a countdown timer the dealer must ensure there is always at least one legal set on the table.
We are not entitled to this bonus.
--------------------
4. Making sure that the threads do not wake up unless some actual job needs to be done (e.g., a value needs to be
changed on the display, key input needs to be handled, etc.) and the only threads created by you are:
1 thread per player + 1 additional thread for non-human players.
We are not entitled to this bonus.