Skip to content

Object-oriented solution to Euler's Problem #54 implemented in small commits with commentary

License

Notifications You must be signed in to change notification settings

grimsa/practice--poker-hands

Repository files navigation

Exercise definition

Solve Project Euler's Problem 54

Given a list of hands dealt to two players, how many hands does Player 1 win?

with the following goals in mind:

  1. Apply object-oriented programming ideas at class and package level.
  2. Write readable, expressive, concise code.
  3. Provide commentary on decisions taken along the way.

Solution

Small commits are made along the way to make the solution easier to discuss.

Commentary is provided in COMMENTARY.md file.

Feedback

Would you have taken a different path? Could it have led to a cleaner solution?

Let me know by raising an issue or adding a comment on a specific commit - I welcome any feedback and discussion.

About

Object-oriented solution to Euler's Problem #54 implemented in small commits with commentary

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages