Skip to content

A simple implementation of the famous Towers of Hanoi game.

Notifications You must be signed in to change notification settings

terindhadda/Towers-of-Hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Towers of Hanoi

This is a simple implementation of the famous Towers of Hanoi game created using NASM, x86 and gcc.

Installing

To download the repo and make the program:

git clone https://github.com/terindhadda/Towers-of-Hanoi.git
cd Towers\ on\ Hanoi/src/
make hantow

If the program was made successfully, you should see the following output:

nasm -f elf32 -o hantow.o hantow.asm
nasm -f elf32 -d ELF_TYPE asm_io.asm
gcc -m32 -o hantow hantow.o driver.c asm_io.o

Then to run the program:

./hantow 3

Demo

Demo

About

A simple implementation of the famous Towers of Hanoi game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published