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, and the Haskell Tiny Game Jam.

Allure of the Stars
A near-future Sci-Fi roguelike and tactical squad combat game. In brilliant 16-color ASCII, grid-based, turn-based, with a story, stealth, cool-down melee weapons, slow projectiles and fast explosions. Browser and native binaries. Free software using the LambdaHack roguelike game engine. This incarnation complete, but in constant development and accepting contributions of all kinds.
An implementation of a simple 2-player board game. Uses wxHaskell.
A UCI chess engine written completely in Haskell
A Bejeweled clone written completely in Haskell with gloss.
Computer player algorithms for three games: Connect Four, Rows&Columns, Mastermind. Intended for running as a web server.
A clone of the popular Flash game Boomshine.
Defend The King from Forces of Different
A simple multiplayer real time strategy game.
Network multiplayer 2D shooter, clone of an Android game with the same name
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.
Fuglos Jeopardy
Fuglos Jeopardy is a free implementation of a game resembling the popular quiz show 'Jeopardy'. It is written using Gtk2Hs as GUI toolkit. It is quite feature complete and easy to use. It contains support for LaTeX, so you can for example use LaTeX math syntax in your data sheets and thus organize a math jeopoardy event. Licensed under GPL3.
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.
A clone of Doom, using reactive-banana, GTK, and the "diagrams" library.
A breakout game with SDL graphics and Kinect and Wiimote support. Written in FRP, there's a fork in Haskell for Android.
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.
A fast paced 2D arcade game written entirely in Haskell with the SDL2 binding.
GTK chess client
Lazy Lambda
Lazy Lambda is a simple Flappy Bird clone in Haskell, implemented with Haskell SpriteKit. It was originally developed for the Compose :: Melbourne 2016 keynote, where it was live coded in the second half of the presentation.
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. Modernized repository maintained on GitHub.
Monadius is a shoot 'em up with the selection bar power-up system for Windows, written in Haskell (now on Hackage as Monadius; see also the video)
A Super Mario clone, using an SDL binding different from the one in Hackage: Monao on github, New maintained version on github
Nikki and the Robots
A puzzle, platformer game.
Octane Mech
Octane Mech, OpenGL Haskell based mech game
Haskell bindings to libpuz
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.
A video game, based on Yampa
2D programming and resource gathering game.
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.
ASCII platform/adventure.
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
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.

Commercial games

2D puzzle game for iOS and Android written in Haskell using SDL2 graphics and the FRP implementation Yampa. Created by Keera Studios, available on iTunes and Google Play for Android.
Magic Cookies!
A lights-out clone for iOS and Android written in Haskell using SDL2 graphics and the FRP implementation Yampa. Created by Keera Studios, available on iTunes and Google Play for Android.
Magic Cookies 2!
Second game in the Magic Cookies saga, for iOS and Android written in Haskell using SDL2 graphics and the FRP implementation Yampa. Created by Keera Studios, available on iTunes and Google Play for Android.

Unfinished/in-progress games

An action RPG for mobile devices
Conway's Game of Life
Incomplete toy chess engine
A Haskell implementation of hashlife. It uses GLUT.

Game Engines and Libraries

A video game framework, with a video tutorial and chips, a game based on it.
A 3D game-engine for Haskell. It uses Haskell bindings to the OGRE 3D engine and OIS input system and a library called reactive-banana, to create a "Functional Reactive Programming" game-engine.
A wrapper for the Bullet physics engine.
A GUI/game library based on free monads.
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!
game-tree is a purely functional library for searching game trees - useful for zero-sum two player games.
Bindings to GLFW, a free, open source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time.
An OpenGL abstraction layer supporting game-style main loops.
A project to make game development with Haskell easier to get started with by providing a suite of libraries for covering all sorts of aspects of game development.
Haskell SpriteKit
Haskell SpriteKit provides a purely functional interface to the SpriteKit game engine on Apple platforms. SpriteKit is a state-of-the-art engine for 2D games and includes a versatile animation framework and an integrated physics engine. It is easy to use without the need for low-level programming or advanced concepts, such FRP.
A functionally reactive game engine inspired by Elm.
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.
Y-Wing flight is a video of a demonstration of the possibilities of HGamer3D.
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.
Hickory is not really a game engine. It's more of a collection of tools and abstractions that can be used to make games. It doesn't have opinions and doesn't force you into a particular paradigm.
Hpysics is a physics engine written using Data Parallel Haskell during Google Summer of Code 2008.
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.
A game engine library for turn- and grid-based roguelike games, with optional tactical squad combat. Produces both browser and native binary games. You need to specify the content to be procedurally generated and the engine builds the world and runs it. Actively developed, accepting extensions and all kinds of contributions.
Solver for exact set cover problems. Included examples: Sudoku, Mastermind, Nonogram, Domino tessellation, 8 Queens, Soma Cube, Tetris Cube, Cube of L's, Logika's Baumeister puzzle. Generic algorithm allows to choose between slow but flexible Set from containers package and fast but cumbersome bitvectors.

Unfinished/in-progress game engines/libraries

A collection of auxiliary operations related to Gtk2hs. See also Creating board games in Haskell in 100 lines of code
An incomplete graphics system abstraction layer.
Hate is a small framework for graphical haskell games and applications. It's heavily inspired by Love and aims at similar ease of use, but within the power of Haskell's type and concurrency safety.
A framework for network games