move tournament between wordy and custom-set #199
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reviewers: I decided I'd go and take responsibility for this since I was the one who moved it earlier in the first place.
Take my word with a grain of salt since I haven't done this exercise myself yet.
Commit message follows.
In the beginning, tournament was between parallel-letter-frequency and
rectangles.
Then, in #152, File I/O was removed so it was deemed to be easier. So we
moved it to between grade-school and robot-simulator.
However, #174 rightly points out that tournament is still a bit involved
simply becaue there are multiple moving parts to it and the path to a
solution that even passes the first test is a bit long.
This placement is a general feeling from how much work I think one would
need to do on the input before being able to get the expected output:
In tournament, you have to look at each line, parse it, look at the
result, increment two win/draw/loss counts (one for each team that
played). then at the end calculate scores and sort.
wordy also has string parsing, so let's try right after wordy.
Closes #174