

RAD STUDIO 2009 STACK OVERFLOW CODE
The aim was simple: everyone has about 2 and a quarter hours (including a break for food) to write the code to implement their player. Write some code to implement your player!.Create a class that implements IGamePlayer (make sure to include necessary export attributes).Add reference to IConnect4Player (project).Add reference to ComponentModel (project).What each person had to do to implement their 'player': An identical sample player written in VB.NET.A copy of MEF Beta 2 Preview 8 (which was used to load players from the individual DLLs).A library containing the interface that each player was required to implement.A set of tests to verify the logic in detecting wins, etc.A WPF user control to represent the game board.
RAD STUDIO 2009 STACK OVERFLOW MANUAL
(This host also allowed manual playing of each player.)

The logic therein can be as simple or complicated as you want to make it. Don't worry if this sounds complicated, it will only involve implementing an interface containing 4 methods (and one of them just returns your name!). The plan is for everyone to write automated players for a simple game. That's what we hope to do at the CodeFest. While it can be good to learn by hearing people present and demonstrate new techniques, it can also be good to learn by seeing how different people solve the same problem. (Yes, the name wasn't very good but the event was.) One of the things I've been keen to do at DevEvening is to see what would happen if we did a session where everyone came and wrote code.įor this reason we had an event and called it the 'Christmas CodeFest'.
