ソースを参照

Update 'README.md'

Kristofer Younger 5 年 前
コミット
f672983679
共有1 個のファイルを変更した78 個の追加4 個の削除を含む
  1. 78
    4
      README.md

+ 78
- 4
README.md ファイルの表示

@@ -28,13 +28,87 @@ Finally, you are to add some new functionality to the app, to make it "more usef
28 28
 more rewarding for the user".  
29 29
 Your effort will be met with promotions, parades, and stock options. (no, just kidding).
30 30
 
31
-## Lab Brief
31
+Lab Brief
32
+=========
32 33
 
33 34
 Notice the structure of the current project before you start. Read thru the 
34
-code up here on git.zipcode.rocks.
35
-Read thru the code. READ THRU THE CODE.
35
+code up here.
36
+##### Read thru the code. 
37
+#### READ THRU THE CODE.
38
+### READ THRU THE CODE.
39
+==================
36 40
 
37
-## Now, Switch across to the [README.TXT](README.TXT) file to see what you need to do for this lab.
41
+- Find the 2 Account Classes: Basic, Premium
42
+- Find the superclass of the 2 account classes.
43
+- Find the other classes including Bank, Account, CashMachine. Read thru them all.
44
+
45
+Read them all, trying to get an idea of how it all goes together.
46
+
47
+Notice when reading the code...
48
+
49
+- Each account has: id, name, email, balance; find that in a class.
50
+- What does Premium account do that Basic does not?
51
+- What are the two starter account already built into the project?
52
+- Trace how the Cash machine sets the current account
53
+-- enter account id and "login to account"
54
+- Trace how a deposit happens
55
+-- enter a number then click deposit
56
+- Trace how a withdrawal happens
57
+-- enter a number then click withdraw
58
+- How does "exit" log out of the account?
59
+- What might be a better name for "exit"?
60
+
61
+
62
+Things to Change for the Lab
63
+============================
64
+
65
+FIRST, fork this repo into your own account. 
66
+       =====================================
67
+
68
+     After getting each of these items completed, 
69
+     be sure to do a 'git commit' to save you work. 
70
+     Learn your git.
71
+     Never Lose Code. 
72
+     NEVER LOSE CODE. EVER. :-)
73
+
74
+How about making a new git branch, named "dev" from the master branch for you to do all
75
+your work in?? (what great idea!)
76
+
77
+NOW, maybe you're ready to start making changes. 
78
+
79
+
80
+
81
+* Add more accounts to the default constructor of the Bank class.
82
+* When you overdraft an account, print an alert message to the areaInfo object on the window.
83
+
84
+Additional things to add
85
+------------------------
86
+
87
+You need not do these things in this order. Do as many as you can. When you finish,
88
+make sure the project runs. (Else the Board... well, disappointment lies that direction.)
89
+     ---------------------
90
+
91
+* Make the account display more user friendly
92
+  * add a Form layout that has separate TextFields for each piece of account info. 
93
+  * You'll probably find a layout that lets you do this, a little like the FlowPane.
94
+  * Make the login stuff more clear
95
+  * Disable the three buttons that operate on an account until a login happens 
96
+  * and then enable them. add another TextField for the amount entries. 
97
+  * Make it different from the TextField where you set the account ID.
98
+
99
+* Enable the amount entries to be floating point numbers instead of 
100
+  just integers when doing deposits and withdrawals.
101
+
102
+* Add a menu with a list of accounts in it and the menu action switched 
103
+  to that account. You may find that JavaFX already has such a thing.
104
+
105
+**** Add a New Account Window(!) that takes in the info required thru 
106
+     TextFields and creates the correct objects so that is can be changed 
107
+     like the pre-wired accounts.
108
+
109
+NB: When googling for information on how to do all this, 
110
+be sure you start every query with "javafx " and your other search terms. 
111
+That will limit the results to things that probably are closer to what you need.
38 112
 ___
39 113
 
40 114
 NB: