From 50e56f89180c7f9d8e0e87633f7aaf82b5c64c1a Mon Sep 17 00:00:00 2001 From: Barnacules Date: Sun, 7 Sep 2014 02:22:21 -0700 Subject: [PATCH] Updated comments to reflect true percentages --- Test App 4 - Drunk PC/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test App 4 - Drunk PC/Program.cs b/Test App 4 - Drunk PC/Program.cs index 591eaf6..5888d4d 100644 --- a/Test App 4 - Drunk PC/Program.cs +++ b/Test App 4 - Drunk PC/Program.cs @@ -142,7 +142,7 @@ public static void DrunkSoundThread() while (true) { - // Determine if we're going to play a sound this time through the loop (80% odds) + // Determine if we're going to play a sound this time through the loop (20% odds) if (_random.Next(100) > 80) { // Randomly select a system sound @@ -179,7 +179,7 @@ public static void DrunkPopupThread() while (true) { - // Every 10 seconds roll the dice and 90% of the time show a dialog + // Every 10 seconds roll the dice and 10% of the time show a dialog if (_random.Next(100) > 90) { // Determine which message to show user