[Haskell-cafe] FICS client in Haskell

Tilmann t_gass at gmx.de
Fri Jan 29 16:18:13 UTC 2016

Hi Tony,
thank you for having a look! I haven't given putting it on hackage much 
thought yet. But I would certainly do it if it's helping someone.
Macbeth probably runs on other platforms as well. It's just that I 
developed it with OSX in mind (I was using babaschess on windows before) 
and provide an OSX binary only.

Am 29.01.16 um 03:35 schrieb Tony Morris:
> Hi Tilmann,
> I'll give it a crack, though I haven't used FICS in a while.
> Couple of questions:
> * have you put it on hackage?
> * is it specific to Mac OSX? (if so, why?)
> On 29/01/16 02:37, Tilmann wrote:
>> Hi,
>> I've been working on a FICS (Free Internet Chess Server) Client for a
>> bit over a year now and it is finally in a presentable state. It would
>> be great if you would like to have a look at the source code and let me
>> know what you think!
>> When I started with this project I was just starting to learn Haskell
>> and I would like to know if the code is accessible/readable/idiomatic,
>> if the overall organization seems reasonable as well or if you might
>> have any other suggestion about what I could improve. (ie: I haven't
>> decided on what logging framework to use.)
>> The code is on github: https://github.com/tgass/macbeth
>> I thank you all very much in advance!
>> Tilmann
>> https://github.com/tgass/macbeth/blob/master/src/Macbeth/Fics/FicsConnection.hs
>> Opens a telnet connection to freechess.org. Using conduit and attoparsec
>> messages from the server are parsed to FicsMessages and put into a Chan.
>> https://github.com/tgass/macbeth/blob/master/src/Macbeth/Fics/FicsMessage.hs
>> The domain model
>> The UI is using wx widgets (wxHaskell). Each wx-frame gets a copy of
>> Chan FicsMessage and updates the UI when new Messages are available, ie
>> here:
>> https://github.com/tgass/macbeth/blob/master/src/Macbeth/Wx/ToolBox.hs
>> https://github.com/tgass/macbeth/blob/master/src/Macbeth/Wx/Game.hs
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list