Building a simple game using XAML/C#: Part 3 – Make it a game
Now that we have our basic interactions working the way we want, it’s time to add some game logic. We’ll do this by: Refactoring the game logic into a Game class and adding a “Level” class that will encapsulate the…
Building a simple game using XAML/C#: Part 1 – XAML UI
I thought it would be fun to make a game for the Windows developer preview. So, as an exercise in simplicity, I decided to go for a game that loosely resembles “Simon”, the memory game where you try and remember…
Copy and Paste Coding: SQL insert/update for C#, PHP, and Perl
The following examples are some dead-simple examples that come up all the time when I’m prototyping. The following examples are the first ones that come to mind: CGI / DB connectivity and insertion. Note the code provided does not apply…
Adding an application bar to a XAML/C# application
So the next version of Windows adds the new spiffy Windows Appbar but how do you add it to your XAML app? It’s easier than you might think… like 15 minutes to do the first time. For this short tutorial,…