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

https://github.com/danielpancake/haskell-outrun

Outrun-like racing game made in Haskell
https://github.com/danielpancake/haskell-outrun

game haskell outrun pseudo3d

Last synced: 2 months ago
JSON representation

Outrun-like racing game made in Haskell

Awesome Lists containing this project

README

        

# haskell-outrun

![Haskell](https://img.shields.io/badge/Haskell-5e5086?style=for-the-badge&logo=haskell&logoColor=white)

![](./assets/preview.gif)

## 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](https://www.transmissionzero.co.uk/software/freeglut-devel/), 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/