Phillip Trelford's blog... evidently
when your only tool is an analogy, everything looks like a simile.

Mastermind F# WPF Game Sample

October 13, 2008 08: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:
Actions: E-mail | Permalink | Comments (7) | Comment RSSRSS comment feed

Comments

July 3. 2009 07: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 05:45

pingback

Pingback from atalasoft.com

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

atalasoft.com

August 2. 2009 21:21

expekt

Lol mastermind, it reminds me a lot of story, i use to play mastermind with my brother when i was a child and i enjoy !!! Back in my life ! Wink

expekt

August 15. 2009 09:24

Уеб Дизайн

I can see that you are putting a lot of time and effort into your blog and detailed articles! I am deeply in love with every single piece of information you post here. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!
Best Regards,
Chris

Уеб Дизайн

August 16. 2009 20:04

one red light on xbox

Funny, I actually had this on my mind a few days ago and now I come across your blog

one red light on xbox

September 8. 2009 22:26

www.jouercasinosgratuitement.com

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

www.jouercasinosgratuitement.com

September 13. 2009 20:39

Free online games

  
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...thanks for sharing your views..
Regards,  

Free online games

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading