Initial puzzle game setup, converted from asp.net solution