Skip to content

gregpuzzles1/tower_hanoi

Repository files navigation

Tower of Hanoi

A modern Tower of Hanoi puzzle site built with Vue 3 + TypeScript + Vite, designed to run as a fully static app on GitHub Pages.

Live site (GitHub Pages): https://gregpuzzles1.github.io/tower_hanoi/

Demo

Controls

  • Mouse / touch: click/tap a source tower, then a destination tower
  • Keyboard:
    • 1 / 2 / 3 select source tower
    • Left / Right change destination focus
    • Enter / Space drop to focused tower
    • Esc cancel selection

Local development

npm install
npm run dev

Build

npm run build

Preview production build

npm run preview

Notes

  • Vite is configured for project-pages base path /tower_hanoi/.
  • Vue Router uses hash history to avoid GitHub Pages deep-link 404s.

License

MIT License. See LICENSE.

About

A Tower of Hanoi game coded with TypeScript + Vue + Vite

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors