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.
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
.