The foo package

[Tags: gpl, program]

Foo (abbreviation from football) is a playing machine of Paper Soccer, a pencil and paper game for two players, described in WIKIPEDIA. Written in Haskell, contains also simply interface using HOpenGL library. Provides bunch of playing algorithms.


[Skip to ReadMe]

Properties

Version1.0
Change logNone available
Dependenciesbase, containers, GLUT, haskell98, OpenGL [details]
LicenseGPL
AuthorBartosz Wójcik
Maintainernone
CategoryGame
Home pagehttp://sourceforge.net/projects/fooengine/?abmode=1
Executablesfoo
UploadedSat Aug 16 19:53:10 UTC 2008 by DonaldStewart
Downloads815 total (18 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-19 [all 3 reports]

Flags

NameDescriptionDefaultType
small_baseChoose the new smaller, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for foo-1.0

1. The game has been described in WIKIPEDIA under 'Paper Soccer'. Please refer to there in order to learn rules. http://en.wikipedia.org/wiki/Paper_Soccer
Rules of this game can be completed by simply rule. Player who does the move that finishes because there is no further available move left, loses only half a point.
Size of the court can be defined almost without limits, but as first option size $8 \times 8$ has been chosen.

2. Install Foo

2.1 Install GHC
First install Haskell compiler. I've used GHC only. You can find it here: http://www.haskell.org/ghc/. Follow installing instructions there. The newest installation contains required GLUT and OpenGL Libraries.

2.2 Compile sources
Download sources to separate directory and compile there using following command 
ghc --make -package GLUT PlayFoo.hs -O -fvia-C -cpp -o PlayFoo 
This works assuming you have direct acess to GHC compiler.