Building a Game: The Model, View, Controllers approach

The goal of these series of blogs is to create a simple Silverlight Game that you can build on. This will be done by doing the following:

  1. Create a game based on MVC (Model, View, Controller) principle
  2. Test the game with the MVC Unit tester (let’s give it a spin)
  3. Work with documentation and architecture

Again, because we want to keep things simple, we’ll take advantage of the minimum number of features of the ASP.NET MVC framework and Silverlight needed to build the game. In order to create our application, we need to complete each of the following steps:

  1. Work up the design of our game, I will do this at my other blog: https://blogs.msdn.com/devschool
  2. Create the ASP.NET MVC Web Application Project
  3. Create the ASP.NET MVC game model
  4. Create the ASP.NET MVC game controller
  5. Create the ASP.NET MVC game views

The following items will be discussed as required on some other blogs:

  1. Use of XNA with Silverlight on the https://blogs.msdn.com/devschool
  2. Create a functional program to do some simple physics using F#, I will discuss this on my blog: https://blogs.msdn.com/research, although I have to finish up a discussion on orbital mechanics, which is hopelessly messed up right now.
  3. Implement the system architecture and test plan, I will discuss this on my blog: https://blogs.msdn.com/socal-sam, here again, I will have to finish up my analysis of the Mars Climate Orbiter crash that resulted from a units mix between software modules.

If you want to get up to speed on MVC, you need to have at least Visual Web Developer 2008 SP1, ASP.NET MVC and Silverlight 3 loaded on your machine.

To make sure you have a good idea of how to work with MVC work through the tutorial at:

https://www.asp.net/learn/mvc/tutorial-21-cs.aspx

I wasn’t able to get the Create part to work correctly, if you do, let me know.

Getting game working with clear understandable steps for the ABSOLUTE beginner is the goal for about 10 blog entries. It is exploratory for me, so stay with me, and we’ll get through this successfully.

Well, my wife wants me to watch the Australia movie with her, and it lasts for 3 HOURS! I like Nicole Kidman, but the camera always seems to pay to much attention to her and her movies suffer.

Technorati Tags: F#,XNA,Game,Game Design