Pascal program that solves wolf sheep cabbage riddle, for Computer Science Basics class at Computer Science course at Department of Electricity at Warsaw University of Technology
Compiled with FPC.
Uses Crt unit, that for some reason only works on UNIX based OS'es, at least for me (on Windows it compiles fine, but there is no output during execution).
If there is no output on exectution, compile the SUBSTITUTE version and it should work just fine.
- d <byte> : sets depth of search
- h {true, false} : if true, doesn't display failed movesets
Made with ❤️ by Krzysiek Piekarczyk