Skip to content

rnowif/kata-high-score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HighScore Kata

Description

This Kata is a Java adaptation of a kata from the TDD Fellow written in javascript. The game has only one high score and when current game’s score exceeds that number, it gets updated. Example acceptance test would read like this:

Given high score is 174
When player scores 191
Then high score is 191

Current implementation stores high score in a file.

Tasks

  • Write tests for this class.
  • Fix the bug: when a game is launched (without any previous highscore), it throws an NPE.
  • Extract storing mechanisms, so that class can be re-used with different storage mechanisms (for example local database, or external REST API).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages