CS-PROJECTS / towerofhanoi / ProjectRunner.java
ProjectRunner.java
Raw
package towerofhanoi;

// Virginia Tech Honor Code Pledge:
//
// As a Hokie, I will conduct myself with honor and integrity at all times.
// I will not lie, cheat, or steal, nor will I accept the actions of those who
// do.
// -- Jordan Harrington (jordanha23)

/**
 * @author Jordan Harrington
 * @version <3/25/2020>
 */

public class ProjectRunner {

    /**
     * Main method
     * 
     * @param args
     *            - string array of arguments
     */
    public static void main(String[] args) {
        int disks = 5;
        if (args.length == 1) {
            disks = Integer.parseInt(args[0]);
        }
        HanoiSolver end = new HanoiSolver(disks);
        PuzzleWindow game = new PuzzleWindow(end);
    }

}