Skip to content

Classic Tower of Hanoi played entirely in console output. Created in Java.

Notifications You must be signed in to change notification settings

alexlwn123/TowerOfHanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TowerOfHanoi

Classic Tower of Hanoi played entirely in console output. Created in Java.

This was a project that I created in my first Java class in high school. It was finished in April, 2017.

Compile and Run "TowerOfHanoi.java" to start the game.

javac TowerOfHanoi.java
java TowerOfHanoi

Play the game as instructed.

Cheat

There is a "Cheat Code" that will utilize the "TowerSolver.java" file. When the player is prompted for a number of rings, if the player inputs the string "nickelbackistheonlygod" and then enters a number of rings, the game will auto-complete with a perfect solution.

About

Classic Tower of Hanoi played entirely in console output. Created in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages