Skip to content

This is the rest API application. You can play the Rock Paper Scissors game with the computer as a player.

Notifications You must be signed in to change notification settings

sank29/Rock-Paper-Scissors-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Rock-Paper-Scissors-Application

This is the rest API application. You can play the Rock Paper Scissors game with the computer as a player.

Tech Stack

  • Java
  • Spring Framework
  • Spring Boot
  • Lambok
  • Swagger Ui

Modules

  • Play module

Features

  • Easy to assess route
  • All test cases using JUnit
  • Swagger UI
  • The player will get a proper response(computer choice and final result) from the application
  • The player will get a proper error message if an error or exception occurs

Snaps:

  • Player choice paper and auto-generated computer choice rock then the Player won here

game1

  • Player choice rock and auto-generated computer choice paper then the Computer won here

game3

  • Player choice scissors and auto-generated computer choice scissors then game tie

game4

Installation and Run

#changing the server port

  • server.port=8888

#Whether a "NoHandlerFoundException" should be thrown if no Handler was found to process a request.

  • spring.mvc.throw-exception-if-no-handler-found=true
  • spring.web.resources.add-mappings=false

API Root and Endpoint

https://localhost:8888/
http://localhost:8888/swagger-ui/index.html

About

This is the rest API application. You can play the Rock Paper Scissors game with the computer as a player.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages