Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.06 KB

README.md

File metadata and controls

65 lines (51 loc) · 2.06 KB

PUSH SWAP PRO CHECKER

Checker with step by step and GUI pro features

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

The main goal is to provide a useful and visual tool to see inside yout algorithm of sorting and try to get your bugs.

Is works like the oficial checher but with GUI and step by step functionality

Pull files ↙️

git clone --recursive https://github.com/ailopez-o/42Barcelona-PushSwap-ProChecker.git

Compile the program ↙️

Make

Execution example, important to do in bash shell (execute bash previously)

ARG="4 67 3 87 23"; ./push_swap $ARG | ./pro_checker $ARG

Execution example with randomice nums, important to do in bash shell (execute bash previously)

ARG=$(ruby -e "puts (0..500).to_a.shuffle.join(' ')"); ./push_swap $ARG | ./pro_checker $ARG

Controles 🕹

TECLA ACCION
I Step by Step instructions
S Run all the instructions
P Pause
1 exec 'sa'
2 exec 'sb'
3 exec 'ra'
4 exec 'rb'
5 exec 'rra'
6 exec 'rrb'
7 exec 'pa'
8 exec 'pb'
ESC ❌ Close

PushSwap Game rules

Check my push_swap repo: https://github.com/ailopez-o/42Barcelona-Push_swap