added scoreboard and endgame

for brickbreaker