Class GuessingGame

java.lang.Object
edu.pdx.cs410J.security.GuessingGame
All Implemented Interfaces:
Game

public class GuessingGame extends Object implements Game
This is a little guessing game that counts the number of times it takes the user to guess a number between one and ten.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: Game
      Returns the name of the game/
      Specified by:
      getName in interface Game
    • play

      public void play(GameConsole console)
      Plays the game
      Specified by:
      play in interface Game
    • main

      public static void main(String[] args)
      Test program