Here is a guessing game which the computer will attempt your chosen number between 1 and 4. It is not perfect as it has not used variables but it does the job!