foo: Paper soccer, an OpenGL game.

[ game, program ] [ Propose Tags ]

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]


Automatic Flags

Choose the new smaller, split-up base package.


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0
Dependencies base, containers, GLUT, haskell98, OpenGL [details]
License LicenseRef-GPL
Author Bartosz Wójcik
Maintainer none
Category Game
Home page
Uploaded by DonaldStewart at 2008-08-16T19:53:10Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables foo
Downloads 1990 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 9 reports]

Readme for foo-1.0

[back to package description]
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.