import lejos.nxt.*;

/**
  seeing if we can link a separate user-written class
  in leJOS 
  <p> Try to create and call a GameDie, roll it,
      and show its result on the NXT brick screen
  </p>

  @author Sharon Tuttle
  @author impl'd by team member's names
  @version 2015-02-12
*/

public class TryDie
{
    /**
        try to create and use a GameDie
	 and prove it worked
    
        @param args not used
    */

    public static void main(String[] args)
    {
        GameDie die = new GameDie();

        System.out.println("Rolled: " + die.roll());
        System.out.println("Rolled: " + die.roll());
        System.out.println("Rolled: " + die.roll());

        Button.waitForAnyPress();
    }
}