Home > Blog > Microsoft XNA Project – Memory

Microsoft XNA Project – Memory

This was my second shot at creating a game using Microsoft’s new XNA Framework:



A memory game is my project of choice whenever i learn a new language or technology – C# in this case. Memory games require you to learn loops, arrays, random numbers, input control, game states, branching statements … many of the basic building blocks of simple game construction.

The biggest challenge with this project, aside from the syntax, was making the controls respond properly. Since the “update” code is in a loop that runs every billionth of a second or whatever, you’d push the control stick and the game cursor would fly to the end of the row of cards at lightning speed. i eventually came up with a delay condition to make it behave properly, but the control still needs work.

The project is super simple, but if you think you could learn from it, grab the source code here.

Ryan Henson Creighton is a Toronto-based game developer, and founder of Untold Entertainment Inc., specializing in online games for kids, teens, tweens and preschoolers.
Ryan Henson Creighton
Ryan Henson Creighton
View all posts by Ryan Henson Creighton

Popularity: 2% [?]

Rate this Post:
1 Star2 Stars3 Stars4 Stars5 Stars (Not Yet Rated)
Loading ... Loading ...
                      

                                 
 

4 Responses to “Microsoft XNA Project – Memory”

  1. Looks good but the download dosn’t seem to be working.

    Mykre
    http:\\www.virtualrealm.com.au
    http:\\www.virtualrealm.com.au/blogs/mykre

    XNA News and Resources from DownUnder.

  2. Sorry about that, Mykre. Downloads are fixed now.

  3. The download doesn’t seem to be working, I would like to learn how too create this game.
    Is the source code still available?

Leave a Reply