Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.16 KB

hgame - A sample game in Haskell language

This project is a video game written in Haskell. This is a minimalist implementation of a fighting game inspired by the famous Street Fighter.
In this context, the objective is educational by practicing functional programming in "Haskelian" style!

This project is part of my professional training.

Technical environment

  • Haskell language
  • Stack, the cross-platform program for developing Haskell projects
    • For a new project, the command 'stack new projectName --resolver lts-18.24' initialize a complete structure
  • Hspec, a testing framework
  • QuickCheck, an automatic testing environment
  • SDL2, SDL library binding in Haskell
    • SDL, Simple DirectMedia Layer

Execution and play ;)

The Makefile contains all the stack commands (clean, build, run and tests).

To start fighting (2 players), it's very easy! Run the following command and follow the instructions on the console.
Have fun!

make run