Skip to content

elordin/haskell-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris
Written in Haskell as a project for the Advanced Functional Programming lecture
during winter-semester 2014/15 at LMU Munich by Thomas Weber
Mat# 10742725


Used externals
--------------------------------------------------------------------------------
Control.Concurrent.STM
Graphics.UI.GLUT
System.Random
System.Exit
Data.Char
Data.Map
GADTs

NOTE that GLUT may require certain OpenGL libraries which in turn require
certain Graphic Card drivers.


Compilation
--------------------------------------------------------------------------------
Compile using
    make
or
    make o2
if you like subliminal optimizations


Files
--------------------------------------------------------------------------------
main.hs
    main program and GLUT window handlers
game.hs
    mutators for the game
display.hs
    GLUT rendering on main window
util.hs
    utility functions, type and constants definitions
font.hs
    definition of geometry of custom font

About

Implementation of a Tetris-clone in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published