An open API service indexing awesome lists of open source software.

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)

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)