This code creates a GUI that plays the higher/lower guessing game with the user.
This code uses a CardLayout
to split the game into three screens:
This is a companion discussion topic for the original entry at https://happycoding.io/examples/java/higher-lower-computer-gui