Checker with step by step and GUI pro features
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
ARG="4 67 3 87 23"; ./push_swap $ARG | ./pro_checker $ARG
ARG=$(ruby -e "puts (0..500).to_a.shuffle.join(' ')"); ./push_swap $ARG | ./pro_checker $ARG
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 |
Check my push_swap repo: https://github.com/ailopez-o/42Barcelona-Push_swap