This is the final team project for Graduate Course Introduction to Functional Programming-From C/C++ to Haskell at Fudan Univerisity. Dr's Stanley House is a famous puzzle video game [see here]. According to the course requirements, we implement the game (with full plots, music, dialogues) via functional programming language Haskell.
By the name of my life, I swear that the code (the 'main' file in /Src/exe_files/) can run successfully, as the folowing demo shows. The demo may fail to load occasionally, in which case you can directly click out.gif in the repo. The last but not the least, I am sorry to say that all the files under this repo are written in Chinese:-)
Several Haskell libraries are required, inlcuding: SDL2, SDL2-tff, SDL2-mixer. For more details, you can refer to the following References Section or the report under the 'Note' directory.
- sdl2[OL]. http://hackage.haskell.org/package/sdl2.
- Haskell SDL2 Examples[OL]. https://github.com/palf/haskell-sdl2-examples.
- sdl2-ttf[OL]. https://github.com/haskell-game/sdl2-ttf.
- sdl2-mix[OL]. https://github.com/tempname11/sdl2-mixer.
If you have any questions related to this tool, please feel free to contact with me: [email protected] or [email protected]