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]


Change logNone available
Dependenciesbase, containers, GLUT, haskell98, OpenGL [details]
AuthorBartosz Wójcik
Home page
UploadedSat Aug 16 19:53:10 UTC 2008 by DonaldStewart
Downloads863 total (8 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-11-12 [all 7 reports]


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


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.
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: 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.