Quantcast
Channel: Rock Paper Scissors Lizard Spock as a code-style and challenge - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Simon Forsberg for Rock Paper Scissors Lizard Spock as a code-style...

You seem to like static things, but this gives me a feeling that your code is more procedural-oriented than object-oriented.Although not an issue in your actual implementation, I think willBeat should...

View Article



Answer by Hovercraft Full Of Eels for Rock Paper Scissors Lizard Spock as a...

I suggest that you get rid of most of the static methods, and then refactor this code using MVC design to allow the code to be the model of any type of view you desire, be it Swing, console, SWT,...

View Article

Rock Paper Scissors Lizard Spock as a code-style and challenge

The following is a program that lets a Human play "Rock Paper Scissors Lizard Spock" against the computer... (almost playable at: http://ideone.com/EBDlga)Note I have posted a follow-up question...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images