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
- Host: GitHub
- URL: https://github.com/danielpancake/haskell-outrun
- Owner: danielpancake
- License: bsd-3-clause
- Created: 2022-06-08T11:21:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T12:28:44.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T04:51:37.760Z (3 months ago)
- Topics: game, haskell, outrun, pseudo3d
- Language: Haskell
- Homepage:
- Size: 1.67 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# haskell-outrun


## How to play
WASD / arrows - movementEsc - 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/