A simple number guessing game
The game works as follows:
The user chooses a number in his mind and types “ready” to indicate to the computer that he is ready to begin playing. The computer asks a series of questions to arrive at the number the user has in mind. The user can only respond with “high”, “low” or “yes”.The game ends when the user responds with “yes”
User chooses number 40 in his mind.
Computer: Is the number 30? User: high
Computer: Is the number 50? User: low
Computer: Is the number 35? User: high
Computer: Is the number 40? User: yes
- Make sure that you have JAVA and MAVEN Install
- Using CMD, go to root of project i.e pom.xml
- mvn -q clean package spring-boot:run