Applications and libraries/Games

From HaskellWiki
Jump to navigation Jump to search

This page contains a list of libraries and tools in a certain category. For a comprehensive list of such pages, see Applications and libraries.

See also: Game Development


See also the Game category on Hackage.

An implementation of a simple 2-player board game. Uses wxHaskell.
A clone of the popular Flash game Boomshine.
Defend The King from Forces of Different
A simple multiplayer real time strategy game.
Endless Cavern
A 2D procedurally-generated cave exploration game.
Foo (abbreviation from football) is a playing machine of Paper Soccer, a pencil and paper game for two players. It contains a simple interface using HOpenGL library and provides many playing algorithms.
Frag is a 3D first person shooting game written in Haskell, by Mun Hon Cheong. It uses Yampa, Quake 3 BSP level format and OpenGL. It is licensed under the GPL.
The General Boardgames Player, offers a set of board games: Ataxx, Bamp, Halma, Hex, Kram, Nim, Reversi, TicTacToe, and Zenix. It uses wxHaskell.
A concrete game from an attempt on defining computer games.
Haskell in Space
An asteroid like game
A turn-based artillery game. The game server is written in Haskell.
ASCII tetris in Haskell
Four in a Row in Haskell. Uses wxHaskell.
A simple ANSI-graphics space invaders written entirely in Haskell 98.
GTK chess client
Level 0
A fun and featureful Snake II clone using SDL.
Lost Cities
A two-player card game where each player tries to mount profitable expeditions. It uses wxHaskell.
Nethack clone written in Haskell (The web site have this mage-1.0.pre35.tar.gz file containing an older version that was using Data.FiniteMap.) There seems to be a problem with newer curses library even with the more recent 1.1.0 version.
Role-Playing Game (influenced by Nethack), complete and fully playable. Console mode only.
Monadius is a shoot 'em up with the selection bar power-up system for Windows, written in Haskell (now on Hackage)
A Super Mario clone, using an SDL binding different from the one in Hackage: Monao on github
A functional MUD client featuring prioritized, regex-based hooks, variables, timers, logging, dynamic loading of Yogurt scripts and more. For example programs, please see Yogurt's home page.
Octane Mech
Octane Mech, OpenGL Haskell based mech game
OpenGL Tetris
Tetris in Haskell with OpenGL
Paratrooper is a simple action game that runs on Windows and is written in literate Haskell.
2D puzzle game featuring a fuzzy little cat (uses GLUT)
Roguestar is a science fiction adventure role playing game using Haskell and OpenGL.
A 2-D vector graphics upwards-scrolling keyboard-controlled shooter. You shoot the enemies while dodging their bullets until you reach and defeat the enemy.
Space Invaders
A video game, based on Yampa
A revival of the classic racing game Stunts to serve as a non-toy-sized example for LambdaCube.
A simple Five in a Row game. Online, with server-sent events, deployed to Heroku, open source.
TriHs (tar.gz)
A 1- or 2-player Tetris game using Gtk2Hs and Cairo.
Your space ship enters an asteroid belt, try to avoid collisions! wxAsteroids is based on wxHaskell.
An implementation of xiangqi for Unix, using gtk2hs + cairo

Unfinished/in-progress games

Allure of the Stars
A near-future Sci-Fi roguelike and tactical squad game. Long-term goals are high replayability and auto-balancing through procedural content generation and persistent content modification based on player behaviour. The game is written using the LambdaHack roguelike game engine.
An action RPG for mobile devices
Conway's Game of Life
A Haskell implementation of hashlife. It uses GLUT.
Nikki and the Robots
A puzzle, platformer game

Game Engines and Libraries

FunGEn (Functional Game Engine) is a platform-independent BSD-licensed 2D game engine based on OpenGL and GLUT. Its light dependencies make it easy to install, however GLUT is reputed to be unsuitable for simultaneous keypresses. As of 2011 it's the only general-purpose game engine, and the quickest way to throw together simple 2D games, in Haskell. Example code: A Brief Example. Forks and patches welcome!
Bindings to GLFW, a free, open source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time.
A game engine for Windows which includes Haskell bindings to a couple of C++ libraries and a Haskell API on top of that. Features include Audio, Joystick, Mouse and Keyboard handling, GUI, Network, Physics, 3D graphics.
Hipmunk: A Haskell binding for Chipmunk. Chipmunk is a fast, simple, portable, 2D physics engine. It is completely self-contained. See also HipmunkPlayground: a simple OpenGL program that allows you to see some of Hipmunk's functions in action.
Hpysics is a physics engine written using Data Parallel Haskell during Google Summer of Code 2008.
A wrapper for the Bullet physics engine.
game-tree is a purely functional library for searching game trees - useful for zero-sum two player games.
Haskell bindings to the excellent OGRE 3D rendering engine. Ogre has been used in commercial games such as Torchlight and several books exist documenting the Ogre API. Ogre uses an MIT license making it compatible with many Haskell libraries.
Haskell binding to the Irrlicht game engine. The Irrlicht Engine is an open source high performance realtime 3D engine
LambdaCube 3D
LambdaCube 3D is a domain specific language and library that makes it possible to program GPUs in a purely functional style.

Unfinished/in-progress game engines/libraries

An incomplete graphics system abstraction layer.
A framework for network games
Aims to be a 2d and 3d modular game engine.
A game engine library for roguelike games of arbitrary theme, size and complexity, packaged together with a small example dungeon crawler. When completed, it will let you specify content to be procedurally generated, define the AI behaviour on top of the generic content-independent rules and compile a ready-to-play game binary, using either the supplied or a custom-made main loop. Several frontends are available (GTK is the default) and many other generic engine components are easily overridden, but the fundamental source of flexibility lies in the strict and type-safe separation of code and content.