Giter Site home page Giter Site logo

atm-simulation's Introduction

ATM SIMULATION

Folder structure overview

server - implementation of server part

client - implementation of client part

card_simulation - contains .json files, that simulate bank cards. Each file has .json representation of 1 card. These files are needed in order to be inserted for enrty in atm-simulation

Quickstart

1. Install python3. To check, that python3 is installed: python3 --version

2. Install requirements: pip3 install -r requirements.txt

2.1 if you have errors during start like "No module [module_name], you should install this module: pip3 install module_name"

3. start server(syntax: main.py ip port): cd server; python3 main.py 127.0.0.1 5000

4. start client(syntax: gui.py port): cd client; python3 gui.py 5000

Overview

Simulation of atm. First of all you need to insert card. Card is .json file(./card_simulation). In case of wrong card insert, "Invalid card inserted" message displated After that user should enter pin for inserted card. (for all cards from ./card_simulation pin is 0000). In case of wrong pin, user will get message "Invalid pin". After user entered correct pin, there will be options menu with 4 options ["check balance", "get cash", "send money", "exit"]
check balance - does request to server, that gets current balance of user card
get cash - substracts amount of money from user card. immitates getting cash from atm.
send money - send amount of money from user card to inputed receiver card
exit - returns to entry screen.

atm-simulation's People

Contributors

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