The program has ended.
// How to play
Both buttons are called Command1, as in the original: the left one starts a game, the right one quits. The computer picks a number from 1 to 1000 and you get ten guesses; after each one it tells you whether you were too high or too low. Guess it and the game says "Spot on" and closes. Type anything that is not a number from 1 to 1000 (or press Cancelar) and the round ends; press the left button to start a new one.
// Revisited
Rebuilt in HTML5 + JavaScript from the original Visual Basic 6 source (Game.frm, February 2001), with the same texts, range and ten tries. It is one of the earliest programs in the archive, and its code comments suggest it was written while following a VB tutorial. The original's quirk is kept: after your tenth miss it tells you the number and then also asks you to input a valid number. The dialogs are titled Proyecto1 and their buttons read Aceptar and Cancelar, as they did in the Spanish edition of VB6 it was made with. Where the original closed itself (after a win, or with the quit button), the window disappears and a button lets you run it again.