Skip to content

bumanerdene/tennis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎾 Tennis Scoring System

A simple backend implementation of a tennis match scoring system, built with Node.js and TypeScript. Includes unit tests using Mocha and Chai.


🚀 Features

  • Track points, games, sets, and match outcome
  • Supports Deuce and Tie-break rules
  • Handles multiple players and set history
  • Lightweight, modular, and fully testable

🛠️ Tech Stack


📦 Installation

git clone https://github.com/bumanerdene/tennis.git
cd tennis
npm install


## Run test

```bash
npm test


## Project Structure

├── src/
│   ├── player.ts       # Player
│   ├── point.ts        # Game 
│   └── index.ts        # Entry point
├── tests/              # Mocha test files
├── package.json
├── tsconfig.json
└── README.md

About

Tennis scoring calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors