The project was inspired by the subject "PARP": Warsaw University of Technology
A text-based game written in three different programming languages:
- Prolog (logic)
- Haskell (functional)
- Smalltalk (object-oriented)
Player has to leave an island by collecting various objects, combining them and talking with NPCs.
To run the program you need install packages:
sudo apt-get install -y swi-prolog
sudo apt-get install -y haskell-platform
sudo apt-get install -y gnu-smalltalk
Type in terminal:
swipl
?- [adventure].
?- start.
Type in terminal:
ghci
Prelude> :l adventure.hs
*Main> start
Type in terminal:
gst adventure.st