Skip to content

Towers of Hanoi is a popular puzzel game that consists out of two main components: three towers and n number of disks. The goal of this puzzel game is to move the tower of disks from one tower to another tower with only moving a single disk at a time.

Notifications You must be signed in to change notification settings

TebogoYungMercykay/Towers_Of_Hanoi_Puzzle_Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Towers Of Hanoi In C++


Description


UML Diagram And Functions

UML diagram and functions


  • Requirements before running code:

  • About Codes:

    • The code is all written by myself only
    • I hard code them as part of my practice code, practical and assignemnts for my coding modules.
  • About Me:

    • Tebogo Sello Selepe
    • Computer Sciences at Tuks

Makefile

NB: A makefile Is Included to compile and run the codes on the terminal with the following commands:=
  • make clean
  • make
  • make run
main:
	g++ -g *.cpp -std=c++98 -pedantic -o main

clean:
	rm -f *.o *.tar.gz main
	reset
	clear

run:
	valgrind --leak-check=full ./main

tar:
	tar -cvz *.* -f Towers_of_Hanoi.tar.gz
	
untar:
	tar -zxvf *.tar.gz

About

Towers of Hanoi is a popular puzzel game that consists out of two main components: three towers and n number of disks. The goal of this puzzel game is to move the tower of disks from one tower to another tower with only moving a single disk at a time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published