Giter Club home page Giter Club logo

rock_paper_scissors_well--rest-service--part-b's Introduction

Rock, Paper, Scissors, Well- REST

Overview

The Game is built with REST service implementation using Spring Boot framework.

Requirements

To build the app:

  • Java JDK 8+
  • Maven 3+

To launch it in local server: open cmd and open the directory of the game, then run either of the following commands:

To compile and build it:

mvn clean package

To run it:

mvn spring-boot:run

The app can also be run directly from cmd using jar file in the app's directory file:

cd ...\rock_paper_scissor_rest-service

using the following command:

java -jar App_run_game.jar

It's configured to be launched:

Documentation

The game is built with 2 variaties. Variaty A comes with 3 options: rock, paper, scissor. Variaty B comes with 4 options: rock, paper, scissor, well.

In order to start playing, the player has to choose first which variaty by writing A or B in the terminal.

The game is designed for 2 players. One player(person) plays against the computer.

Once the App is launched, a welcome message is displayed in the cmd. Enter one move(stein, papier, schere) and the result will be displayed.

The player is allowed to repeat the move (play again).

A score (win, lose, or tie) is recorded and calculated and the results are displayed in the JSON template on the server.

Sources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.