Tennis Kata

Credits

Inspired by Emily Bache

Tennis Kata

There are four versions of this refactoring kata, each with their own design smells and challenges:

  • TennisGame1
  • TennisGame2
  • TennisGame3
  • TennisGame4

Get the Code

On GitHub (This kata can be done using ABAP, C, C++, C#, Crystal, Dart, Erlang, Go, Groovy, Java, JavaScript, Julia, Kotlin, Objective-C, OCaml, Perl, PHP, Python, Ruby, Rust, Scala, Swift, TypeScript, VB.NET) If your favorite language is missing, feel free to create a pull request. Be sure the maintainer will be happy ;-)

Image credits

Image by Rachel M. Carmena. It represents a greeting of respect and gratitude made at the beginning and at the end of a kata.