Skip to content

jeprubio/Tennis-kata

Repository files navigation

2020-DEV-104 - Tennis Game - Android Candidate Test

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

Getting Started

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

Prerequisites

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.

How to run the application

Open the code in android studio. Wait until gradle finishes and press the play button 🎾

Screenshots

https://i.ibb.co/txkbH0d/Screenshot-1596087743.png

https://i.ibb.co/SsbMQ5f/Screenshot-1596087748.png

https://i.ibb.co/yfqFfSd/Screenshot-1596087753.png

Libraries used

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages