Sorry for the late reply. Had some trouble in managing my time and in making the game that was assigned.
But here it is the beginning is just how I made it and the step of what would happen scroll right down to play the real version
The computer start with saying:
Then the player have to insert number between 1-20
Then there is a answer slot where player type in number
if the number is right then the screen will show:
But if the number is smaller than the computer will show:
however if the number is bigger than the number that has to be guess than the computer will show:
Each time plater start the plater will have 30 points however each wrong answer they guess they loose 10 points and when there are no more points the screen will show:
here is my finish game: