40%

Complete your profile to find better job opportunities

Go-Game-Score-API
GitHubRepository

Go-Game-Score-API

  • 0 stars
  • 0 forks
  • JavaScript language
View on GitHub
Published
27 May 2024

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

More work by Tushar Mishra