Strange Characters

You have a datastructure containing Character objects. The exercise is to find particular Characters given various criteria.

A Character has the following attributes:

You should be able to search a datastructure of Characters using the following criteria:

Additional Requirements

Write a parser that can accept a json file with character data and create a datastructure of all the Characters it contains.

In addition, implement a new Find method. Find by “character path” - a string a bit like an xpath that will identify a Character in a datastructure.

There is some sample test data and buggy implementation of the first set of requirements in StrangeCharacters-TestDesign-Kata.

There is a sample json file and implementation including the additional requirements in StrangeCharacters-Refactoring-Kata

Referenced in these Learning Hours: