Here is a code of simple Windows Phone Game