An open API service indexing awesome lists of open source software.

https://github.com/amraneze/tennis-kata

Tennis Kata based on http://codingdojo.org/kata/Tennis/
https://github.com/amraneze/tennis-kata

scala scala-test

Last synced: 3 months ago
JSON representation

Tennis Kata based on http://codingdojo.org/kata/Tennis/

Awesome Lists containing this project

README

        

# Tennis Kata

A program to emulate a tennis game.

## Specification

This project is based on the specification of this [Kata](http://codingdojo.org/kata/Tennis/).

## Getting Started

### Prerequisites

#### Sbt
* Memory: At least 128MB
* Operating System: Any operating system.
* Disk Space: At least 124MB (for JRE) of available disk space.

### Installation

#### Sbt
**You can follow this link [Install Sbt](https://www.scala-sbt.org/release/docs/Setup.html) to install Sbt**

## Running the project

### With SBT
From the root directory of the project, you can:

#### Compile the project:
```
sbt compile
```

#### Run the Main App:
You have two ways to run the application, either with a terminal or inside `sbt shell`.

##### Within a Terminal
```
sbt run
```
##### Within SBT Shell
```
run
```

#### Run the test cases
```
sbt test
```
or this inside of a sbt shell:
```
test
```