OlivierDupre / KataBowling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KataBowling

Write a class named “Game” that has two methods

  • roll(pins : int) is called each time the player rolls a ball. The argument is the number of pins knocked down.
  • score() : int is called only at the very end of the game. It returns the total score for that game.

About


Languages

Language:Java 100.0%