#Rock paper scissor

5 messages · Page 1 of 1 (latest)

unreal wagon
#

So I made a rock paper scissor game (im a beginner) and tried making it as simple to read, clean and professional as possible using methods (i didn't make classes because its a simple program)
The program handles almost every type of error that can occur (I think)

What else can I improve in my program? or is it good

https://www.programiz.com/online-compiler/1kN5oKcITAsWr

drifting citrusBOT
#

This post has been reserved for your question.

Hey @unreal wagon! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

tired garden
#

Give OOP a try. Create a class "Game", "Round", "InputValidator" and "Referee" (and "UserDialog" if you like).

vocal ice
#

If you want to take it further, you could try adding a simple graphical user interface (GUI) using Java's Swing or JavaFX libraries.