FRIENDLY F# with game development and XNA

By Giuseppe Maggiore
$7.49 Rating: 1 star1 star0.5 star
(2.50 based on 4 reviews)

Published: Aug. 16, 2011
Words: 29,945 (approximate)
Language: English
ISBN: 9781465750051


Short description

In this book we present the functional language F# with a particular focus on fun applications such as simulations and games. We will see a series of entertaining examples: a bouncing ball, the Saturn V rocket, an asteroid field and a starship battle. In the last two chapters we will build a rendering system in XNA that renders the previous samples in 2D and 3D with input and audio.

Extended description

In this book we present the functional language F# for those who wish to learn it with a particular focus on fun applications such as simulations (physics, AI, etc.) and games. Of course F# is a general purpose programming language, and even if in this book all the samples are geared towards simulations nevertheless the techniques and constructs used are more than enough to tackle most other real-world problems. Also notice that until the last chapter we will not use any special gaming related libraries; rather we will limit ourselves to the standard F# libraries.

We will use a very hands-on approach to development: each chapter opens with a sample problem, such as simulating a bouncing ball, a rocket, an asteroid field, etc. The source code of the solution is given and then all the constructs used are discussed in depth in the rest of the chapter.

Most of the samples (not those found in the last chapter, which require XNA 4.0) work on Windows, MacOSX and Linux thanks to Mono.

The.. (Read more)


Tags

programming, games, xna, simulations, visual studio, fsharp, functional programming, game programming, game development, programming languages, simulation programming, net, mono, monodevelop, giuseppe maggiore, giulia costantini

Available ebook reading formats

Single purchase gains access to all formats. How to download ebooks to e-reading devices and apps.
Format Full Book Sample First 18%
Online Reading (HTML, good for sampling in web browser)BuyView sample
PDF (good for reading on PC, or for home printing)BuyNo sample available
Kindle (.mobi for Kindle devices and Kindle apps)BuyDownload sample
Epub (Apple iPad/iBooks, Nook, Sony Reader, Kobo, and most e-reading apps including Stanza, Aldiko, Adobe Digital Editions, others)BuyDownload sample
LRF (Use only for older model Sony Readers that don't support .epub)BuyDownload sample
Palm Doc (PDB) (for Palm reading devices)BuyDownload sample

Reviews

Log-in to write a Review   Log-in to add a Video Review

Review by: Rob Rosenbaum on April 14, 2012 : star
The dots make the code unreadable. I don't know what else to say. I can't read the code in this book. Whose idea was this, and have they ever tried to read this code?
(reviewed the day of purchase)

Review by: Stefano Casillo on Feb. 28, 2012 : star
Please fix the "." as spaces in the source code. The book is REALLY PAINFUL to read with those.
One of F# strong selling point is the elegance of the source code, this book make the language look TERRIBLE with that formatting.
(reviewed long after purchase)

Review by: Andrew McVeigh on Jan. 03, 2012 : star star star star star
Guiseppe - great book, thanks for making this.

However, is there any chance of getting an alternative pdf version without the "."'s for spaces? They really put me off when looking at the code.
(reviewed the day of purchase)

Review by: Paolo Contessi on Dec. 29, 2011 : star star star
I haven't read it yet, just skimmed but i liked it.
(reviewed within a month of purchase)

Report this book