Inspiration
When I was going through Tech Elevator Bootcamp we had to code something similar to this. Now that I've learned a bit more, it seems easier and more elegant to recreate.
What it does
Uses CLI. Chooses a random number between 1-100. When user selects "Run", takes inputs from the player and indicates that they are either too high or too low until they guess the number correctly.
How I built it
I used Repl.it and looked at some of my old Tech Elevator code to get myself less rusty with Java (I've been working almost exclusively with JS and python these past few months) and remembered this game we worked on in small groups after class.
Challenges I ran into
I forgot how to setup scanner and immediately wished I was writing in python :p
Accomplishments that I'm proud of
Honestly everything utilizing scanner (like sc.nextInt()) was more effort to remember and use correctly since it's been so many months since I've used Java.
What I learned
I CAN write stuff in Java better now that I understand programming better in general
What's next for Java Number Guessing Game
Literally nothing :p But I have Java classes coming up in my degree so it was nice to have this as a refresher :)
Built With
- cli
- java
Log in or sign up for Devpost to join the conversation.