This short and simple Kata about implementing a simple tennis game. It is inspired by Wii tennis, where they have simplified tennis, so each set is one game.
Detailed instructions can be found in https://github.com/stephane-genicot/katas/blob/master/Tennis.md
The project files can be found at https://github.com/jeprubio/Tennis-kata
Easiest and simple way to download code from Github is to download the whole code in a zip file by clicking the "Code" / "Download Zip" button on the right hand side of the page.
You can then save the zip file into a convenient location on your computer and start working on it.
Another way to get the code is using git:
git clone [email protected]:jeprubio/Tennis-kata.git
Android studio should be installed in order to run the app.
Follow the instructions at https://developer.android.com/studio/install depending on which SO your computer is running.
Open the code in android studio. Wait until gradle finishes and press the play button 🎾
-
ConstraintLayout - To create large and complex layouts with a flat view hierarchy (with better performance)
-
Legacy-support-v4 - To use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs.
-
Lifecycle-viewmodel - To use the the ViewModel class which is designed to store and manage UI-related data in a lifecycle conscious way
-
Navigation - To create a Single Activity App and handle fragment transactions defined in a graph.
-
Mockk - A mocking library similar to mockito that allows you to mock suspend functions.