Smartphone Game Tutorial Featuring Southpark

Here is my simple, some spare time project, one that smartphone game based on a southpark theme. It’s a simply working game that coded for dummies. You can download the source code below the post but unfortunately the code had not been commented, but it promises to be really simple. In fact it’s not really a tutorial, i only exposed the code for dummies, only enjoy it if you wish.

Simple Southpark Game for Smartphones

Although it’s a simple tutorial like game, it’s surely entertaining and enjoying. As you know Cartman is very angry as always and tyring to avoid things that he hates.

The game uses GDI with custom double buffering model, so it DOES NOT use windows controls such picture boxes. It’s based on bit blitting technique. Honestly the code wasn’t written perfectly, as i said before it’s a spare time project, but it can give the general basic game programming concepts to newbies altough i’m not a game programmer.

Simple Southpark Game for Smartphones

Download the source project here

kick it on DotNetKicks.com

What kind of programmer you are? An analytical thinker or a VS operator

i’ve got two tasks for you. The first one is; you will connect to your working database, make a query to fetch all your contacts, and display’ em in a grid like control on a windows form. You bet it’s very simple, especially if you’re using Visual Studio. Now with Visual Studio 2008 by drag&drop operations i can do this without writing any code snippet and even have ability to display relational data.

Oh my, visual studio is really great IDE software, it makes all the things for me and now i could really dive into thinking the real problems of my software needs. But where is analytical thinking? Trying to solve the big picture puzzle of software is really an analytical thinking? I think the nature of computer programming is writing code that computers undertands and trying to solve problems by using innovational or existing algorithms. So the one who solves computional problems by algorithms is a computer programmer in a nutshell i think.

If you doubt, one main question have to be asked:

What is analytical thinking?

Here comes my second task for you that you have an array of digits those random positioned like this one:

int[] digits = new int[]{4, 5, 2, 7, 9, 3, 1, 8, 6};

So please give a try to sort this array ascending like this one {1, 2, 3, 4, 5, 6, 7, 8, 9 } without using Array.Sort() or any library method. This sounds very simple, is it? i can hear your laugh, saying how an easy thing this is. If you give a chance yourself to solve this problem i guess and suppose that you will find how much an analytical thinker you are.

cards being sort*

Here i do not advocate that not to use visual studio or framework libraries, certainly they make our life more easier, but all programmers who says that i’m a programmer and have ability to solve any kind of problems by using my favorite programming language, must do training and exercise in basic algorithms, learn historical solutions to generic problematic issues and have a look at some framework base classes how things done.

I’m neither a perfect programmer nor a expert analytical thinker, but i’m trying to do and always give myself some time to understand some basic and base concepts. I guess and believe these will make me soon a good big picture puzzler, a senior developer or solution developer.

kick it on DotNetKicks.com

Auto Generate Web Service Proxy With Intellisense Support

Here is my work that auto generates a web service proxy into an assembly with a BuildProvider implementation. It’s a protoype, the rest could be implemented in your own way but it is surely working as it is (i won’t develop it further). Once it is built, the c# code wrapper of web service description generated and compiled into memory (infact into an assembly in asp.net temp directory), so you can use intellisense support of Visual Studio.

It could stand as an alternative for wsdl.exe tool of .NET Framework sdk or Visual Studio’s web referencing feature.

I won’t describe the code one by one, you can watch the poor and short video below and download the project source code at the and of this post to digg in somemore. It can cause reinspirations nicely, if you catch one please let me know, i would like to help. So enjoy it!

P.S: If you have interested in SubSonic project which is exactly popular nowadays, this work inspired a bit from it.

Download Project Source Code

kick it on DotNetKicks.com

  
Valid XHTML 1.0 Strict Valid CSS!