Skip to content

Commit

Permalink
Updated comments to reflect true percentages
Browse files Browse the repository at this point in the history
  • Loading branch information
Barnacules committed Sep 7, 2014
1 parent a05f417 commit 50e56f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test App 4 - Drunk PC/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 50e56f8

Please sign in to comment.