Try reading through my Guess the number game. KEY: 8E7Y33G4 It is designed with beginning programmers in mind and has a lot of comments (please excuse the type-os). Let me know if you have any questions.