kheob / tennis-name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tennis game

This is a tennis game that handles basic scoring of a tennis match.

Starting the app

Install dependencies

npm install

Start

npm start

Runnning tests

npm test

Constraints and assumptions

  • Unique player names
  • Only one set per match
  • Time boxed to four hours

Future improvements

  • Compile to JavaScript
  • Add validation
  • Create a separate class for sets
  • Better way to mock data for tests

About


Languages

Language:TypeScript 69.9%Language:JavaScript 30.1%