Tfoo is an attempt to create simple, modern and useful Haskell web application. It doesn't require any database setup (because it doesn't use database) and its deployment is relatively easy (see: Deploying Tfoo and other Haskell applications to Heroku ). Some people say that it is also an enjoyable game.
Blog post about this project is in the works. If you'd like to know more on a specific topic - drop me a line.
Tfoo/*.hs : Most basic, non-IO data and functions. Tfoo/Handlers/*.hs : Only topmost Handler functions. Tfoo/Helpers/*.hs : IO functions built on top of Tfoo/*.hs code; these helper functions are used in Handlers. Main.hs : Main entry point.
The project lacks Cabal file. I'll add one in my free time (pull requests welcome too!). Below, for quick reference, a list of all dependencies.
wai-eventsource (220.127.116.11) yesod (0.10.2) yesod-static (0.10.1) yesod-default (0.6.1) blaze-builder (0.3.1.0) shakespeare-js (0.11.2) shakespeare-css (0.10.8) hamlet (0.10.9.1)
(pull requests welcome)
Add cabal file.
Improve AI (make it faster; implement minimax).
Create a mobile view.
Create a (public) dashboard that would show current games (real-time).
There is a bug that causes Server-sent Events not being propagated after ~3 minutes of client (Safari browser) waiting. Investigate and fix.
MIT, see LICENSE file for details.