https://github.com/k-pz/wolf-sheep-cabbage-state-machine
Pascal program that solves wolf sheep cabbage riddle (assignment for Computer Science Basics Class)
https://github.com/k-pz/wolf-sheep-cabbage-state-machine
finite-state-machine pascal pinf
Last synced: 2 months ago
JSON representation
Pascal program that solves wolf sheep cabbage riddle (assignment for Computer Science Basics Class)
- Host: GitHub
- URL: https://github.com/k-pz/wolf-sheep-cabbage-state-machine
- Owner: k-pz
- Created: 2018-12-02T00:04:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T09:42:17.000Z (over 7 years ago)
- Last Synced: 2026-05-13T10:45:09.751Z (2 months ago)
- Topics: finite-state-machine, pascal, pinf
- Language: Pascal
- Homepage:
- Size: 504 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PINF-wolf-sheep-cabbage
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
## Compiling
Compiled with [FPC](https://www.freepascal.org/).
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).
### Important
If there is no output on exectution, compile the SUBSTITUTE version and it should work just fine.
## Options
- d \ : sets depth of search
- h {true, false} : if true, doesn't display failed movesets
## Credits
[Project repo](https://github.com/k-piekarczyk/PINF-wolf-sheep-cabbage)
Made with ❤️ by [Krzysiek Piekarczyk](https://github.com/k-piekarczyk)