Quantcast
Channel: Rock Paper Scissors Lizard Spock Revisited - Code Review Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by abuzittin gillifirca for Rock Paper Scissors Lizard Spock Revisited

I agree with Simon in that you should extract game logic in a separate class, which would be your Model component of your applications the MVC.// The computer chooses their weapon.final Weapon compweap...

View Article



Answer by Simon Forsberg for Rock Paper Scissors Lizard Spock Revisited

Love the way you're using HashMap to provide the strings for the items. But in the UI, how would it look if you pick Spock and computer picks Lizard? Does it swap the positions for you? Or should it...

View Article

Image may be NSFW.
Clik here to view.

Rock Paper Scissors Lizard Spock Revisited

Continuing the spirit of the recent Weekend Challenge, here is a revised version of the RPSLS game.This is a follow up to my previous submission:Rock Paper Scissors Lizard Spock as a code-style and...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images