Skip to content

danielpancake/haskell-outrun

Repository files navigation

haskell-outrun

Haskell

How to play

WASD / arrows - movement

Esc - exit

How to run

Option 1: Run stack run in the console. After resolving dependencies, executable should run.

Option 2: In VScode press F6 and choose haskell run option.

Troubleshooting

Problem Solution
After incrementing version number, stops compiling stack clean -> stack build -> stack run
It does not compile, then first try this: stack clean -> stack build -> stack run
On Windows stack run yields user error (unknown GLUT entry glutInit) Download freeglut package, extract archive, and copy freeglut.dll to the Windows folder. When executable is being distributed, distribute it alongside with freeglut.dll

Do not edit haskell-outrun.cabal by hand as it is being generated automatically from package.yaml

References

Lou's Pseudo 3d Page: http://www.extentofthejam.com/pseudo/