Skip to content

epatrizio/hgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A sample game in Haskell language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published