Giter VIP home page Giter VIP logo

atm-simulator's Introduction

ThreadedATMSimulator

ATM Simulator with threading.

  • Completed Assignment

ThreadedATMSimulator

This README file is written in Markdown format, it can be opened in a text editor / Markdown reader or a web browser.

This is the readme file for the ATM Simulator Assignment for Team 18

Team Members:


BUTTONS

Pinpad:

  • Each numbered button will input its number into a given text prompt on the screen.

Accept:

  • The accept button will confirm to the text promp on the screen that your entry is conpleted.

Clear:

  • The clear button will clear the text prompt on screen so that you can populate it with new data.

Cancel:

  • The cancel button will return you to the previous state or cancel your current course of action.

Display Buttons:

  • Display buttons work as they would on a normal ATM, they correspond with the text labels on the ATM display to the side of them.

Race Condition

  • The race condition is simulated by delaying the input of the user for 5 seconds to give you enough time to access other ATM Windows to select options on their displays.
  • The race condition can be toggled on and off on the Central Bank Computer Window
  • The race condition is independant of the locking functionality and can be used with or without using locking as a workaround.

Locking

  • Locking can be enabled or disabled in the Central Banking Computer Window.
  • Locking makes other 'Threads' wait their turn before they can access a function that contains integral code.
  • You can use locking with or without the Race Condition turned on.

ATM Forms

  • When an ATM form is closed the Central Banking Computer will show the new count of how many ATMs are active.
  • If you select Cancel on the Account Number page it will tell you to take your card.

atm-simulator's People

Contributors

wdunkelheit 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.