Giter VIP home page Giter VIP logo

swe_681's Introduction

SWE_681

A client-server arithmetic guessing and solving game.

Quick Summary

  • Two Player game
  • Both select a number and try and guess what arithmetic operation is happening against a specified random value for the game.
  • If the outcome of the operation between the player's number and the random value is greater than the outcome of the opponent, you win the match. The losing player also loses their last number selection, limiting the moves they can make their next turn.
  • If either opponent has only one selection left, they lose the game.

Objective:

  • Select an input value that will produce a higher output value, than your opponent, after an unknown mathematical operator is used to perform an operation with your selected value and the given game value.
  • Possible outcomes per round: Win | Tie | Loss
  • Possible outcomes per game: Win | Loss

Game Rules:

  • Each user must select a value from the seven given per round:
    • 200, 150, 100, 75, 50, 25, 10
  • The player with the higher outcome will win the round.
  • After each round, the winning player retains their inputs. The losing player loses the input he used in that round. If a tie happens, no player loses a turn
  • When a player reaches only one value left, the game is over and a new game is set to start.
  • Any bets made within a game are awarded to the winner of the game, and the players earning can keep accruing throughout the gaming session between the two opponents.
  • You can only pause a game for 30 seconds. If you pause a game for longer you lose the game and are booted from the game. The game is then ended for both players after a warning is sent to the player that didn’t initiate the pause.
  • Any instances where a value, that is not in the allowed bounds of the game, is somehow passed in as a turn will result in automatic ejection from the game and the game will shortly after be terminated.
  • Only wins and losses will be recorded for this game. The authors do not believe in tie games as a result. As such the game cannot end in a tie.

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.