Skip to content

Attempt to build game engine with networking in Haskell using FRP as core idea.

License

Notifications You must be signed in to change notification settings

Teaspot-Studio/gore-and-ash

Repository files navigation

gore-and-ash

Core package of game engine called Gore&Ash. The engine has following features:

  • based on monadic FRP (reflex)

  • provides high-modularity and reusability. Actually the core can only compose modules that extends the engine capabilities.

  • network API with user controlled reliability, see gore-and-ash-network module.

  • synchronization EDSL that greately simplifies complexity of client-server programming, see gore-and-ash-sync module.

  • input module via SDL2 library, see gore-and-ash-sdl module.

For complete proof-of-concept, see gore-and-ash-demo repo that contains implementation of simple game.

Making your own module

You can generate backbone of core module with stack:

stack new gore-and-ash-mymodule ./gore-and-ash-module.hsfiles \
  -p module-name:Test \
  -p module-docs-name:test \
  -p field-prefix:test \
  -p github-username:teaspot-studio \
  -p current-year:2017 \
  -p author-name:ncrashed \
  -p author-email:[email protected] \
  -p copyright:Anton Gushcha 2017 \
  --solver

About

Attempt to build game engine with networking in Haskell using FRP as core idea.

Resources

License

Stars

Watchers

Forks

Packages

No packages published