lol yeah me too! (although it doesn't always show) ...don't have to participate every week though, but we can discuss here what the next challenge will be :)
OK, weekend challenge.... we all solve the Rock Paper Scissors Lizzard Spock problem with our 'favourite' language, and we all have to post a question here with our solution to be reviewed.
I just call "rock" "paper" whatever a gesture. that is what it is really, right? I am going to try and create a collection eventually here, still figuring it all out in my head really
@retailcoder that would be freaking amazing if I could do that. or we could do that
we were going to do something for the nursing part of the school I went to where they could do small tasks on the kinect. it was supposed to be something that they worked on year after year, but the programming program got closed from wha tI hear
@Malachi your Gesture class/struct is taking the same road as my SelectionBase class; that's fine, but you'll feel the need to refactor at one point :)
@Malachi start simple and then refactor; my code started with a monolith in the Main method, then I broke it into static methods in the Program class, then I extracted methods into classes, classes into interfaces - check out the revision history on my post, you'll see what I mean :)
2
Next refactoring step for me is to remove the hard-coded sheldon and introduce some AI. I'd like a "smart" one that tries to identify patterns in the player's moves, like after 3 "Spock" in a row it'd play a "Lizard", unless the next most frequent move is a "Rock" then it would play a "Paper". Or is that going overboard?
It's actually not a refactoring step, it's just a step :)
Suggestion for next week: tic-tac-toe (star to vote)
OK, I now officially have the coolest RPSLS game, but way too big to post here, has a selectable GUI or console interface, and there are pictures for things ..... not just names!