Wednesday, 23 March 2011

Game of Concentration

The F#.NET Journal just published another article about game programming:

"Concentration is a popular game where the objective is to remember previously-seen cards when flipping over pairs in order to find matching pairs and remove them from the game until none remain. This article describes the design and implementation of a WPF application that implements the game of Concentration. In particular, a novel design is adopted that uses an asynchronous agent to handle user interface timeouts elegantly and a set of mutually recursive asynchronous workflows that implement the state machine of the game logic..."

To read this article and more, subscribe to The F#.NET Journal today!

7 comments:

Art said...

Needs a new title.

Flying Frog Consultancy Ltd. said...

@Art: What would you recommend?

Art said...

Thanks!

More F#UN!

Art said...

WPF -> SL issues ...?

Art said...

Trying F# April CTP+VS '10 SP1 + SL5 Wild side

Art said...

Can WPF Concentration novel design that uses an asynchronous agent be xfer'd to SL5?

Flying Frog Consultancy Ltd. said...

@Art: This should translate really well to Silverlight because it doesn't rely on any of the functionality currently missing from Silverlight.