Phil Trelford's Array
POKE 36879, 255

Mastermind F# WPF Game Sample

October 13, 2008 14:28 by Phil

While playing around with the F# September CTP over the last week, I made a short, <300 lines, implementation of the Mastermind board game using some Windows Presentation Foundation (WPF) controls. I've been impressed with the integration of F# with Visual Studio 2008 with project references and property pages now in place. It also seems pretty easy to wire up a usable UI using the WPF controls event without XAML. Anyway you can view the source on the F# wiki or download it below and have a play.

Mastermind.fs (13.69 kb)


Tags:
Categories: F# | WPF
Actions: E-mail | Permalink | Comments (4) | Comment RSSRSS comment feed

Comments

July 3. 2009 13:13

Art Scott

Thanks Phil.

I'm always looking for F# & WPF and/or Sliverlight info.

Created against F# v 1.9.6.16, VS 2008, .NET 3.5,
needed to add ref to System.Xml 2.0 ...

Looking forward to trying against VS 2010 and .NET 4.
Interested in any Sliverlight insight, esp. re:/vs. WPF.

Art Scott

July 19. 2009 11:45

pingback

Pingback from atalasoft.com

Rick Minerich's Development Wonderland : Discoveries This Week 07/19/2009

atalasoft.com

May 4. 2010 23:43

pingback

Pingback from endyear2012.com

car insurance cheap quote «  End Year 2012

endyear2012.com

July 5. 2012 19:27

pingback

Pingback from starfootballlive.newpatriotmedia.com

Video: Does GM Have a Case of ‘Eurosis’? | Star Football Live

starfootballlive.newpatriotmedia.com

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading