Skip to content

jfmatt-zz/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Minesweeper

It's minesweeper... in Haskell!

Features:

  • IO monad completely isolated in UI functions
  • Generates and plays a game of Minesweeper
  • Automatically reveals fields of 0s like the Windows version

Todo:

  • I feel like it could be more "Haskell-y" - the fact that I didn't use any monads beyond IO worries me. The RNG handling in placeBombs could definitely be rewritten to use a State StdGen
  • More point-free - the definition of buildBoard bothers me, for example

About

Minesweeper in Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published