Skip to content

a desktop app to visualize the 42 Push-Swap prject πŸŽ‰

Notifications You must be signed in to change notification settings

obenchkroune/push_swap_visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f706e9b Β· Mar 20, 2024

History

12 Commits
Feb 5, 2024
Feb 5, 2024
Feb 5, 2024
Mar 20, 2024
Feb 5, 2024
Feb 5, 2024
Mar 20, 2024
Feb 5, 2024
Feb 5, 2024
Feb 5, 2024
Feb 5, 2024
Mar 20, 2024

Repository files navigation

Push swap visualizer

This project help you visualize your push swap algorithm using a step by step graphical interface supported for Linux, Mac and Windows.

How to install

debian/ubuntu

if you dont have access to the super user priveleges:

  • download the .deb release file from here.
  • extract the package using dpkg to the desired location
dpkg -x /path/to/push-swap-visualizer_1.0.0_amd64.deb ~/Desktop
  • and then go to the path you extracted the package, in my case ~/Desktop/usr/bin and run the executable
cd ~/Desktop/usr/bin
chmod u+x push_swap_visualizer
./push_swap_visualizer &

or just add an alias in your ~/.zshrc file

alias psv="/path/to/push_swap_visualizer &"
psv

otherwise just run this command if you have admin rights

dpkg -i /path/to/push-swap-visualizer_1.0.0_amd64.deb

and you are good to go!

Mac OS

download this file unzip it and run the app and thats it!

but if you want you can also build from source all you need is nodejs

git clone https://github.com/obenchkroune/push_swap_visualizer.git
cd push_swap_visualizer
npm install
npm run make

this command will build the appropriate release for your current operating system, and voila! your push swap visualizer will be available at the out/ directory.

PRs are welcome anytime and if theres any bug encountered please let me know!

🧬 inspiration:

hope this is helpful and good luck in your 42 journey πŸ₯³.

About

a desktop app to visualize the 42 Push-Swap prject πŸŽ‰

Resources

Stars

Watchers

Forks

Packages

No packages published