using System; using System.Collections.Generic; using System.Text; using Dbg = Cosmos.Debug; namespace Cosmos.Playground.Kudzu { public class Debugger { public static void Main() { //Debugger.Break(); Random xRandom = new Random((int)(Cosmos.Hardware.Global.TickCount + Cosmos.Hardware.RTC.GetSeconds())); // Divide by 100, get remainder int xMagicNo = xRandom.Next() % 100; Dbg.Debugger.Send("The magic number is " + xMagicNo); //Dbg.Debugger.Break(); Dbg.Debugger.TraceOn(); Console.WriteLine("I am thinking of a number between 0 and 100. What is it?"); //int xDummy = 4; Dbg.Debugger.TraceOff(); Console.ReadLine(); } } }