Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Dec. 9th 2014

Code Katas in PHP: Tennis Scoring

Episode 5 Run Time 30:27

Download

Let's tackle the tennis scoring kata. If you're familiar with the game, you'll know that the rules can be a bit tricky. As such, this will make for a great exercise!

View the source for this code kata on GitHub.