From the README
Go-Game-Score-API Description This is an API for calculating the maximum number of draws in a Go game based on three provided scores. The API validates the input and calculates the maximum possible draws according to specified rules. Prerequisites • Node.js • npm Setup 1. Clone the repository 2. Install dependencies Running the Project 1. Start the server 2. Running tests API Documentation Endpoint GET Parameters 1. p1 (integer): The first player's score (0 ≤ p1 ≤ 30) 2. p2 (integer): The second player's score (0 ≤ p2 ≤ 30) 3. p3 (integer): The third player's score (0 ≤ p3 ≤ 30) Response : The request was successful. Body: JSON object containing the maximum number of...
Skills
- JavaScript