Timeline for Unfair die game
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 7, 2017 at 10:13 | comment | added | Alex Hall |
You need to implement a function similar to product which generates dice with the correct sum without wasting time generating dice that are nowhere near correct. For example if the enemy die is [1, 1, 5] then your die cannot contain a 5 or 6, and if it contains a 4 then the only other numbers allowed are 1 and 2. You'll need recursive backtracking.
|
|
Sep 7, 2017 at 7:22 | answer | added | BenC | timeline score: 2 | |
Jan 21, 2017 at 7:51 | history | tweeted | twitter.com/StackCodeReview/status/822713333891657729 | ||
Jan 18, 2017 at 15:52 | vote | accept | Tao Xu | ||
Jan 18, 2017 at 23:06 | |||||
Jan 16, 2017 at 1:16 | history | edited | Jamal | CC BY-SA 3.0 |
added 118 characters in body; edited tags; edited title
|
Jan 16, 2017 at 1:08 | review | First posts | |||
Jan 16, 2017 at 3:24 | |||||
Jan 16, 2017 at 1:04 | history | asked | Tao Xu | CC BY-SA 3.0 |