Difference between revisions of "Applications and libraries/Games"

From HaskellWiki
Jump to navigation Jump to search
(→‎Games: Moved Yogurt to its correct place)
m (Fix to update URL to the Paratrooper game.)
(19 intermediate revisions by 7 users not shown)
Line 14: Line 14:
 
: A clone of the popular Flash game Boomshine.
 
: A clone of the popular Flash game Boomshine.
   
;[https://github.com/yairchu/defend/tree Defend The King from Forces of Different]: A simple multiplayer real time strategy game.
+
;[https://github.com/yairchu/defend Defend The King from Forces of Different]: A simple multiplayer real time strategy game.
   
 
; [http://www.increpare.com/2008/11/endless-cavern/ Endless Cavern]: A 2D procedurally-generated cave exploration game.
 
; [http://www.increpare.com/2008/11/endless-cavern/ Endless Cavern]: A 2D procedurally-generated cave exploration game.
Line 23: Line 23:
 
;[[Frag]]
 
;[[Frag]]
 
: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.
 
: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.
  +
  +
;[http://mfuglos.github.io/jeopardy 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.
   
 
;[[GeBoP]]
 
;[[GeBoP]]
Line 29: Line 32:
 
; [http://folk.uio.no/carljsv/gorillabas/GorillaBAS-0.1.tar.gz GorillaBAS]
 
; [http://folk.uio.no/carljsv/gorillabas/GorillaBAS-0.1.tar.gz GorillaBAS]
 
: A concrete game from an attempt on defining computer games.
 
: A concrete game from an attempt on defining computer games.
  +
  +
; [https://github.com/ocharles/hadoom hadoom]
  +
:A clone of Doom, using reactive-banana, GTK, and the "diagrams" library.
   
 
;[http://www.informatik.uni-bremen.de/~cxl/lehre/pi3.ws01/asteroids/ Haskell in Space]
 
;[http://www.informatik.uni-bremen.de/~cxl/lehre/pi3.ws01/asteroids/ Haskell in Space]
Line 37: Line 43:
   
 
;[http://www.cs.ox.ac.uk/people/ian.lynagh/Hetris/ Hetris]
 
;[http://www.cs.ox.ac.uk/people/ian.lynagh/Hetris/ Hetris]
:ASCII tetris in Haskell
+
:ASCII Tetris in Haskell
   
 
;[http://hackage.haskell.org/package/hfiar hfiar]
 
;[http://hackage.haskell.org/package/hfiar hfiar]
Line 61: Line 67:
   
 
;[http://www.geocities.jp/takascience/haskell/monadius_en.html Monadius]
 
;[http://www.geocities.jp/takascience/haskell/monadius_en.html Monadius]
:Monadius is a shoot 'em up with the selection bar power-up system for Windows, written in Haskell (now on [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Monadius-0.9.20071203 Hackage])
+
:Monadius is a shoot 'em up with the selection bar power-up system for Windows, written in Haskell (now on [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Monadius Hackage]; see also the [http://www.youtube.com/watch?v=zqFgQiPKtOI video])
   
 
;[http://mokehehe.blogspot.com/2009/04/super-nario-move-to-github.html Monao]
 
;[http://mokehehe.blogspot.com/2009/04/super-nario-move-to-github.html Monao]
 
:A Super Mario clone, using an SDL binding different from the one in Hackage: [https://github.com/mokehehe/monao Monao on github]
 
:A Super Mario clone, using an SDL binding different from the one in Hackage: [https://github.com/mokehehe/monao Monao on github]
  +
 
;[http://joyridelabs.de/game/ Nikki and the Robots]
 
:A puzzle, platformer game.
   
 
;[http://berlinbrowndev.blogspot.com/2007/09/octane-mech-opengl-haskell-based-mech.html Octane Mech]
 
;[http://berlinbrowndev.blogspot.com/2007/09/octane-mech-opengl-haskell-based-mech.html Octane Mech]
Line 72: Line 81:
 
:Tetris in Haskell with OpenGL
 
:Tetris in Haskell with OpenGL
   
;[http://www24.brinkster.com/srineet/para/para.html Paratrooper]
+
;[http://srineet.brinkster.net/para/para.html Paratrooper]
 
:Paratrooper is a simple action game that runs on Windows and is written in literate Haskell.
 
:Paratrooper is a simple action game that runs on Windows and is written in literate Haskell.
   
Line 107: Line 116:
 
=== Unfinished/in-progress games ===
 
=== Unfinished/in-progress games ===
   
;[https://github.com/Mikolaj/Allure Allure of the Stars]
+
;[http://allureofthestars.com 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 [http://hackage.haskell.org/package/LambdaHack LambdaHack] roguelike game engine.
 
: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 [http://hackage.haskell.org/package/LambdaHack LambdaHack] roguelike game engine.
   
Line 115: Line 124:
 
; [https://github.com/ghulette/haskell-game-of-life haskell-game-of-life]
 
; [https://github.com/ghulette/haskell-game-of-life haskell-game-of-life]
 
: Conway's Game of Life
 
: Conway's Game of Life
  +
  +
; [https://github.com/EricThoma/hchess hchess]
  +
: Incomplete toy chess engine
   
 
;[http://dotat.at/prog/life/hslife.hs HsLife]
 
;[http://dotat.at/prog/life/hslife.hs HsLife]
 
:A Haskell implementation of hashlife. It uses GLUT.
 
:A Haskell implementation of hashlife. It uses GLUT.
 
;[http://joyridelabs.de/game/ Nikki and the Robots]
 
:A puzzle, platformer game
 
   
 
== Game Engines and Libraries ==
 
== Game Engines and Libraries ==
  +
  +
;[https://github.com/egonSchiele/actionkid actionkid]
  +
:A video game framework, with a [http://vimeo.com/109663514 video tutorial] and [https://github.com/egonSchiele/chips chips], a game based on it.
   
 
;[http://hackage.haskell.org/package/bullet Bullet]
 
;[http://hackage.haskell.org/package/bullet Bullet]
 
:A wrapper for the Bullet physics engine.
 
:A wrapper for the Bullet physics engine.
  +
  +
;[http://hackage.haskell.org/package/free-game free-game]
  +
:A GUI/game library based on free monads.
   
 
;[http://hackage.haskell.org/package/FunGEn FunGEn]
 
;[http://hackage.haskell.org/package/FunGEn FunGEn]
Line 135: Line 150:
 
;[http://hackage.haskell.org/package/GLFW-b GLFW-b]
 
;[http://hackage.haskell.org/package/GLFW-b GLFW-b]
 
:Bindings to GLFW, a free, open source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time.
 
:Bindings to GLFW, a free, open source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time.
  +
  +
;[http://gloss.ouroborus.net/ Gloss]
  +
:An OpenGL abstraction layer supporting game-style main loops.
  +
  +
;[https://github.com/haskell-game haskell-game]
  +
: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.
  +
  +
;[http://helm-engine.org/ Helm]
  +
:A functionally reactive game engine inspired by [http://elm-lang.org/ Elm].
   
 
;[http://hackage.haskell.org/package/HGamer3D HGamer3D]
 
;[http://hackage.haskell.org/package/HGamer3D HGamer3D]
 
: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.
 
: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.
  +
:[https://www.youtube.com/watch?v=v_GSbObYRkY Y-Wing flight] is a video of a demonstration of the possibilities of HGamer3D.
   
 
;[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Hipmunk Hipmunk]
 
;[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Hipmunk Hipmunk]
 
:Hipmunk: A Haskell binding for [http://chipmunk-physics.net/ Chipmunk]. Chipmunk is a fast, simple, portable, 2D physics engine. It is completely self-contained. See also [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HipmunkPlayground HipmunkPlayground]: a simple OpenGL program that allows you to see some of Hipmunk's functions in action.
 
:Hipmunk: A Haskell binding for [http://chipmunk-physics.net/ Chipmunk]. Chipmunk is a fast, simple, portable, 2D physics engine. It is completely self-contained. See also [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HipmunkPlayground HipmunkPlayground]: a simple OpenGL program that allows you to see some of Hipmunk's functions in action.
  +
  +
;[https://github.com/asivitz/Hickory Hickory]
  +
: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]]
 
;[[Hpysics]]
Line 169: Line 197:
 
:A framework for network games
 
:A framework for network games
   
;[https://github.com/kosmikus/LambdaHack LambdaHack]
+
;[https://github.com/LambdaHack/LambdaHack LambdaHack]
 
: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.
 
: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.
   
  +
;[http://hackage.haskell.org/package/set-cover set-cover]
  +
:Solver for exact set cover problems. Included examples: Sudoku, 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.
   
   

Revision as of 04:53, 23 February 2015

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


Games

See also the Game category on Hackage.

babylon
An implementation of a simple 2-player board game. Uses wxHaskell.
boomslang
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
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
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.
GeBoP
The General Boardgames Player, offers a set of board games: Ataxx, Bamp, Halma, Hex, Kram, Nim, Reversi, TicTacToe, and Zenix. It uses wxHaskell.
GorillaBAS
A concrete game from an attempt on defining computer games.
hadoom
A clone of Doom, using reactive-banana, GTK, and the "diagrams" library.
Haskell in Space
An asteroid like game
Hedgewars
A turn-based artillery game. The game server is written in Haskell.
Hetris
ASCII Tetris in Haskell
hfiar
Four in a Row in Haskell. Uses wxHaskell.
hinvaders
A simple ANSI-graphics space invaders written entirely in Haskell 98.
LambdaChess
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.
Mage
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.
MazesOfMonad
Role-Playing Game (influenced by Nethack), complete and fully playable. Console mode only.
Monadius
Monadius is a shoot 'em up with the selection bar power-up system for Windows, written in Haskell (now on Hackage; see also the video)
Monao
A Super Mario clone, using an SDL binding different from the one in Hackage: Monao on github
Nikki and the Robots
A puzzle, platformer game.
Octane Mech
Octane Mech, OpenGL Haskell based mech game
OpenGL Tetris
Tetris in Haskell with OpenGL
Paratrooper
Paratrooper is a simple action game that runs on Windows and is written in literate Haskell.
Raincat
2D puzzle game featuring a fuzzy little cat (uses GLUT)
Roguestar
Roguestar is a science fiction adventure role playing game using Haskell and OpenGL.
Shu-thing
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
stunts
A revival of the classic racing game Stunts to serve as a non-toy-sized example for LambdaCube.
Tfoo
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.
wxAsteroids
Your space ship enters an asteroid belt, try to avoid collisions! wxAsteroids is based on wxHaskell.
Xiangqiboard
An implementation of xiangqi for Unix, using gtk2hs + cairo
Yogurt
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.

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.
Bloodknight
An action RPG for mobile devices
haskell-game-of-life
Conway's Game of Life
hchess
Incomplete toy chess engine
HsLife
A Haskell implementation of hashlife. It uses GLUT.

Game Engines and Libraries

actionkid
A video game framework, with a video tutorial and chips, a game based on it.
Bullet
A wrapper for the Bullet physics engine.
free-game
A GUI/game library based on free monads.
FunGEn
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
game-tree is a purely functional library for searching game trees - useful for zero-sum two player games.
GLFW-b
Bindings to GLFW, a free, open source, multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time.
Gloss
An OpenGL abstraction layer supporting game-style main loops.
haskell-game
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.
Helm
A functionally reactive game engine inspired by Elm.
HGamer3D
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
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
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
Hpysics is a physics engine written using Data Parallel Haskell during Google Summer of Code 2008.
hogre
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.
IrrHaskell
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

CurryDog
Aims to be a 2d and 3d modular game engine.
gtk-helpers
A collection of auxiliary operations related to Gtk2hs. See also Creating board games in Haskell in 100 lines of code
HaskGame
An incomplete graphics system abstraction layer.
hsgame
A framework for network games
LambdaHack
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.
set-cover
Solver for exact set cover problems. Included examples: Sudoku, 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.