-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPFC.java
More file actions
33 lines (29 loc) · 1.53 KB
/
PFC.java
File metadata and controls
33 lines (29 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* Names: Erin Cole and Christina Cook
* Filename: PFC.java
* Description: this is the driver for the project. It takes in the input from * the user and calls the needed functions
*/
class PFC {
/*
* Function Name: main
* Description: This function takes in user input and uses needed classes
* Input: a String array called args -- the user input
* Return: void
*/
public static void main(String[] args) {
/* this funtion will take in the user choice for getting a fortune or getting
* an affirmation.
*
* Fortune:
* need to randomly select the fortune
* need to return it
*
* Keep main small, allow the work to be done underneath
* Basically this function needs to process the user's selection of clicking on * the fortune, the connection between the UI and the Java code.n After processi * ng the user input, it will call a function in the class Fortune to start the * assembly of the fortune text.
*
* I know we need Joel's help to connect the front end and the back end. Do as * much as you can of this without actually connecting the two. Pretend you have * connected it and act as though the inputs to the function calls have magicall * y been created in the functions from which they are called. We need to get t * his part hashed out as concretely as possible with the understanding that we * don't have all the dots connected yet.
*
* Please message me if anything isn't clear or if you have ideas to make this f * ile better! These are merely my ideas and I am interested in knowing your tak * e :)
*/
}
}