Code Monkey home page Code Monkey logo

lidatask's Introduction

ROCK, PAPER, SCISSORS!

A project by Mohammad Mahdi Akbar from Sharif University of Tehran

This project is programmed in java 17 using intellij IDEA

The application is implemented with the help of MVC architecture

The User in this application deals with 3 different menus:

  1. MainMenu:

    In this menu the user can either sign up, log in, view the scoreboard of players or just simply exit the app.

    Appropriate errors are shown to help you avoid any redundancies or problems with signing up or logging in.

  2. UserPanel:

    In this menu the user has the opportunity to:

    1. Play a new game with the computer
    2. View their game stats which states their accomplishments or shortcomings through an elaborate list of details
    3. Log out of their account
  3. GameMenu:

    This is where the actual game is played.

    First the user specifies the maximum number of turns needed to win the game. Then he/she can choose whether they want to play either Rock, Paper or Scissors in each turn. The computer also makes a move.

    At the end of each round the stats of the round is displayed, and you will know how close to winning or losing you are. Ultimately the fate of the game is decided when on side reaches the desired number of wins.

Instructions on how to navigate between menus and do different actions are disclosed whenever you enter a menu at the top of it before you need to make a decision so pay attention to them.

You can type the number representing each command or simply type the command itself. (The commands are case-sensitive!)

Any further required explanations are given so take notice of them.

Every principal detail about each user is saved on the external memory on a file with the help of Gson library. Note that you need to thoroughly close the app (by navigating between menus and exiting through the MainMenu) in order to have your recent data saved; so avoid terminating the app in any other way.

lidatask's People

Contributors

mrtbag avatar

Watchers

 avatar

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.