count pieces by type, just because
added personal high score board, scores are saved in localStorage