Dot Net Gotcha #2 – Loop variables and Closures
This one is my favorite. Can you guess the output of this simple console application: One would expect to see numbers from 0 to 9 but here is the actual output of the app: OK that’s strange right? It...
View ArticleMarbles game for Windows 8
Finally my first Windows 8 game called Marbles is finished and available in the Windows Store! That partially explains why i did not wrote any posts on this blog for almost a year It’s been emotional!...
View ArticleSolving Resolution Independent Rendering And 2D Camera Using Monogame
As i promised in my previous post where i announced my Windows 8 game Marbles, i will try to tackle some of the common problems that beginner game developers encounter. In this post i will jump ahead a...
View ArticleVideo of my game Marbles for Windows 8
Hi all, here is 1 minute video of my game Marbles for Windows 8. Its recorded on my desktop machine and played using a mouse, but it works also with touch based devices, and you can even play with...
View ArticleIntroducing the Unit Testing Context Pattern
Another pattern? Well yes. I write unit and integration tests almost every day and along the way i learned all kinds of different tricks and gotchas on how to be more productive and how to write less...
View ArticleAwaiting for that Button click
Why wait when we can await? I believe that most of C# developers know about the new language features for asynchronous programming with async and await keywords but how many of us are really exploiting...
View ArticleUsing await to build cool UI tutorials
In the last post we discussed how we can build custom awaiters and showed simple example how to await for click on the Button instance. Maybe it was not obvious how we can expand that idea and create...
View ArticleIntroduction to Recursive Descent Parsers with C#
Parser? Aren’t parsers utterly boring? Well no, quite the opposite. Lately i have been solving some of the programming challenges on talentbuddy and bumped into task to create parser and solver for...
View ArticleRecursive Descent Parser with C# – Boolean logic expressions
In previous post we gave brief introduction on Recursive Descent Parsers and we implemented parser that was able to parse and calculate simple arithmetic expressions with addition and subtraction. To...
View ArticleRecursive Descent Parser for arithmetic expressions with real numbers
In previous post we were building Recursive Descent Parser for Boolean expressions and in the post before that we were parsing simple arithmetic expressions (with only addition and subtraction). In...
View Article