Ilshat Galimov e71cfb0f34 Add files via upload 2 anos atrás
..
LICENSE e71cfb0f34 Add files via upload 2 anos atrás
README.md e71cfb0f34 Add files via upload 2 anos atrás
pyviz.py e71cfb0f34 Add files via upload 2 anos atrás

README.md

push_swap_visualizer

This python script was created to visualize your work with the PUSH_SWAP 42 Project.

You must put this script in the same path of your program\ You need python3. You can install it with Brew.\ Brew install python3

You may launch the script with : \ python3 pyviz.py `ruby -e "puts (-200..200).to_a.shuffle.join(' ')"` \ or any other list of numbers.

You can change the PUSHS_PATH to get to the relative path of your push_swap You can pause, decrease or increase the speed, or reset at will.

alt text

There are certainly many bugs, but it is 100% functional.