Skip to content

Pascal program that solves wolf sheep cabbage riddle (assignment for Computer Science Basics Class)

Notifications You must be signed in to change notification settings

k-piekarczyk/wolf-sheep-cabbage-state-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 <byte> : sets depth of search
  • h {true, false} : if true, doesn't display failed movesets

Credits

Project repo

Made with ❤️ by Krzysiek Piekarczyk

About

Pascal program that solves wolf sheep cabbage riddle (assignment for Computer Science Basics Class)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages