Did you play Rock, Paper, Scissors as a kid? Does it still determine who makes the afternoon coffee run? Then you already know how to play the game. Now’s your chance to code your own player “bot” and test your skills online. Will your bot have what it takes to crush the competition?
Microsoft is hosting a series of weekly tournaments in Spring 2011 where you can battle it out with other developers to win weekly prizes (not to mention serious bragging rights).
This’s the second in a series of five webcasts explaining how you play the game. Brian Hitney walks the user through downloading the game code from the contest site and cracking open the Bot Lab solution in Visual Studio. The Bot Lab is an ASP.NET MVC website that contains a version of the game engine that you use for testing multiple bots out against each other. The Bot Lab Visual Studio solution is available for download on the Rock Paper Azure Challenge website. The solution contains a Windows Azure project with the MVC site configured to run in a Windows Azure web role. The Bot Lab can be run locally in the Windows Azure Developer Emulator or in the cloud via a Windows Azure “Hosted Service”.
Brian shows you how to load your custom coded Rock Paper Azure bots into the Bot Lab and have them do battle against each other.
In this screencast, Brian Hitney walks the user through cracking open the MyBot solution in Visual Studio. This solution contains a C# project that implements a “Random” bot… that’s, a bot that plays Rock, Paper, Scissors by making random moves. Brian covers some basic coding strategies as well as the rules of the game.
In order to enter a bot into the contest, you will need the deploy the Bot Lab to a hosted service in Windows Azure. In this screencast, Peter Laudati walks the user through that deployment process by creating a hosted service definition in the Windows Azure Management Portal, and then deplying the Bot Lab to it.
Learn more about the Rock Paper Azure Challenge at: http://www.rockpaperazure.com