evanthegrayt / ro_sham_bo

🤘🏼🧻✂️ Simple Rock, Paper, Scissors game for the command-line
MIT License
1 stars 0 forks source link

Refactor, more object oriented #9

Open evanthegrayt opened 3 years ago

evanthegrayt commented 3 years ago

This could use more objects. I think Rules and Score could be their own class. The bin/ro_sham_bo executable should also be extracted to a class so we can test it.

Also, the only thing you can do is play the game via the command line; the API doesn't play the game. You should be able to play the game via CLI, or a ruby console, via RoShamBo.play.

evanthegrayt commented 3 years ago

This will be partially completed by #10