GeBoP: Difference between revisions

From HaskellWiki
No edit summary
 
(→‎Installation: Added a link to Cabal-Install)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
GeBoP is a set of board games: Ataxx, Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix. The program features a brain viewer which enables you to explore the computer's internal game tree.   
GeBoP, the General Boardgames Player, offers a set of board games: Ataxx, Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix. The application features a brain viewer which enables you to explore the computer's internal game tree.   


[[Image:GeBoP.png|center]]
[[Image:GeBoP.png|center]]
Line 7: Line 7:
To run the game, you will need [http://www.haskell.org/haskellwiki/WxHaskell/Download wxHaskell]
To run the game, you will need [http://www.haskell.org/haskellwiki/WxHaskell/Download wxHaskell]


If wxHaskell is installed, and you have cabal-install  
If wxHaskell is installed, and you have [[Cabal-Install | cabal-install]]
on your system, give the folllowing command to install  
on your system, give the folllowing command to install  
GeBoP:
GeBoP:
Line 13: Line 13:


Another option is, to download the GeBoP tarball  
Another option is, to download the GeBoP tarball  
from [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/wxAsteroids Hackage]
from [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/GeBoP Hackage]
and unpack it; go to the directory with the game code  
and unpack it; go to the directory with the game code  
and enter the commands:  
and enter the commands:  
Line 22: Line 22:
You will get a message about the directory in which the  
You will get a message about the directory in which the  
executable is installed; this directory must be in the  
executable is installed; this directory must be in the  
search path.  
search path.
 


== Playing ==
== Playing ==
Line 36: Line 35:
== Links ==
== Links ==
* For a detailed description of wxHaskell, see [http://legacy.cs.uu.nl/daan/download/papers/wxhaskell.pdf wxHaskell - A Portable and Concise GUI Library for Haskell]
* For a detailed description of wxHaskell, see [http://legacy.cs.uu.nl/daan/download/papers/wxhaskell.pdf wxHaskell - A Portable and Concise GUI Library for Haskell]
 
* Further information: [[wxHaskell]]
* Further information: [[wxHaskell]]



Latest revision as of 13:25, 16 March 2018

GeBoP, the General Boardgames Player, offers a set of board games: Ataxx, Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix. The application features a brain viewer which enables you to explore the computer's internal game tree.


Installation

To run the game, you will need wxHaskell

If wxHaskell is installed, and you have cabal-install on your system, give the folllowing command to install GeBoP:

 cabal install GeBoP 

Another option is, to download the GeBoP tarball from Hackage and unpack it; go to the directory with the game code and enter the commands:

 runhaskell Setup configure
 runhaskell Setup build
 runhaskell Setup install

You will get a message about the directory in which the executable is installed; this directory must be in the search path.

Playing

Give the following command to start the game:

 gebop

Select Game -> New Game, select a game and press Play. Help is available in the Help menu.

To see the game tree, select Brain -> Open.


Links