Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Lluis Toyos tolbier

🏠
Working from home
Block or report user

Report or block tolbier

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tolbier
tolbier / BowlingGame.java
Created Nov 18, 2017
My BowlingGame Kata (still no OOP, but with some improves)
View BowlingGame.java
package com.tolbier.bowlinggamekata;
public class Game {
private int currentRoll = 0;
private int rolls[] = new int[21];
int rollIndex ;
public void roll(int pins) {
rolls[currentRoll++] = pins;
}
You can’t perform that action at this time.