F# hands on: build a 2048 bot with Canopy [San Francisco]

2048 is a fun (and very addictive) game that can be played on the Web:

http://gabrielecirulli.github.io/2048/

Canopy is an awesome F# UI web testing framework, built on top of Selenium:

http://lefthandedgoat.github.io/canopy/

Let's put them together, and build a simple bot that plays 2048, using Canopy! We will probably not be able to go THAT far, but with a bit of work, this is what you could end with (video has been accelerated "for dramatic purposes"):

http://youtu.be/sjGVEkzylUY

This session will be organized as an interactive workshop. Come over, and learn yourself some F# for great good! F# beginners are very welcome - it will be a great opportunity to see F# in action, and why it's awesome.

To get the most from the session please try and bring a laptop along with F# installed (ideally either Xamarin Studio, MonoDevelop or Visual Studio); you can find detailed instructions for OSX, Linux and Windows on fsharp.org

To speed up the process a bit, you might also want to take a look at the Canopy documentation beforehand, and maybe give it a spin before the session.

And if you've never used F# before and want a head-start, check the great online intro tutorials on TryFSharp.org

Join or login to comment.

  • Mike P.

    Great, fun meetup as usual. Can't wait for the next one!

    1 · May 27, 2014

  • Art S.

    F# running on many OS's ... seeing is believing; impressive. GR8 group of F#UN guys.

    1 · May 23, 2014

  • Jack F.

    Great intro to Canopy as well as fun thinking about game bots.

    2 · May 23, 2014

Our Sponsors

  • ThoughtWorks

    ThoughtWorks is the official home of F# in San Francisco!

  • INETA

    Help finding and bringing great speakers!

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy