Hack Project(ATM) Part I

To show all what I have learned about Hack I have decided to create a project involving Hack.

The project I will be working on will  simulate an ATM. This program will allow authenticated users to deposit and withdraw from their bank accounts. Additionally, if the user overdrafts from their or withdraws more money from their account than they currently have then a fee will be imposed on their account. The balance shall increase when the user deposits money and decrease when a withdrawal occurs. The account will be authenticated by communicating with the Bank (class). If during authentication the AccountSession is unable to authenticate itself then a message will alert the user. The Bank will not assume all accounts have 0 balance, initial balance will be what the user has declared as their initial balance once the account has been created.

 

 

Hopefully you’ll find this project interesting and learn some interesting aspects of Hack along the way. Join me on this magnificent journey as I work to create an ATM based application.

 

Below is a link to my code I am working on for this project

https://1drv.ms/u/s!Aklz7yNfyhN5oO5jLauAT4Q4GxVlHA

This code is from a working prototype in Java I have created.

 

 

 

Leave a comment