yahtzee cyber-dojo refactoring




Several people have asked for refactoring sessions in cyber-dojo. The idea is that instead of starting from the minimal start code and working towards a solution, you start from finished (but poor) solution and work on refactoring instead. So here are four deliberately poor solutions to Yahtzee in Java, C#, C++, and Python just itching to be refactored!
These buttons create Individual Practices:
These buttons create Group Practices:

6 comments:

  1. Thanks Jon, I had fun with this on the weekend. On Thursday I'll host a dojo on the C# one, I'll let you know how it turns out. Keep on truckin'!

    ReplyDelete
  2. Big thanks Jon again, with Mike's recommendation, we will play this refactoring dojo with C++ version at Beijing C++ User Group.

    http://www.meetup.com/Beijing-C-User-Group/events/225368968/

    ReplyDelete
    Replies
    1. Awesome. Hope it goes well. Cheers

      Delete
    2. Let you know the feedback later at this Sat, I believe everyone will love this dojo game and practice it repeatly :)

      Delete
  3. Robin McKenzie2:18 pm

    How do I find a partner to pair with?

    ReplyDelete
    Replies
    1. Hi Robin, are you working at a dev company? If so is there someone there? Ideally several people there? Why not schedule a coding dojo and see if anyone turns up! Provide free food typically increases attendance!

      Delete