-
Notifications
You must be signed in to change notification settings - Fork 0
/
devlog.txt
225 lines (200 loc) · 9.24 KB
/
devlog.txt
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
Team Craze_Hashing -- Sarah Yoon, Zicheng Zhen
APCS1 pd10
Final Project -- Development Log
~TEMPLATE~
================================================================================
Date:
Contributor:
<Progress>
================================================================================
================================================================================
Date: 2015-01-24
Contributor: SY
- Add Instructions.java, cs1 (with Keyboard.java)
- instantiates Cards for examples of Sets and non-Sets
- clears console between paragraphs
- enter "n" to move to next screen
- main method run in Set.java
================================================================================
================================================================================
Date: 2015-01-23
Contributor: ZZ
- Add key argument to Scoreparser
- Create ability to make highscore files by largest-to-smallest or vice versa
- Add user input to Set driver class
- Create ability to play one game after another
- Create game selection
================================================================================
================================================================================
Date: 2015-01-23
Contributor: SY
- Made Set2 the Sprint Game Mode, Made Set1 the Average Time Per Set Mode
- Finished Set2
================================================================================
================================================================================
Date: 2016-01-22
Contributor: SY+ZZ
- Create ScoreParser
- takes fileName, username, score and key as attrs
- checks for given file, creates if it doesn't exist
- reads/parses file as 2D Array, inserts username and score in appropriate
position (if key is 1, highest to lowest, if key is -1, lowest to highest)
================================================================================
================================================================================
Date: 2016-01-20
Contributor: SY+ZZ
- Create time scoring mechanism
- Implement calcScore
- Remove some unnecessary code
================================================================================
================================================================================
Date: 2016-01-19
Contributor: SY
- implemented clear
- clears the console when the user hits "x" or "X"
================================================================================
================================================================================
Date: 2016-01-18
Contributor: SY
- redid removeSet()
- resolve "IndexOutOfBounds" exceptions
================================================================================
================================================================================
Date: 2016-01-18
Contributor: ZZ
- debugged distribute()
- resolved duplicate card bug
- added "parseloop"
- resolved "Input valid cards" issue for when user inputs "D" or "d"
================================================================================
================================================================================
Date: 2016-01-17
Contributor: SY
- Added a way to draw cards at will
- User types in "r" or "R" instead of card coordinates
- Added a way to quit program at will
- User types in "q" or "Q" instead of card coordinates
- breaks out of outer loop
- Addressed Issue #3, user can no longer select the same card three times and
get a Set
- Added .equals() to Card.java
================================================================================
================================================================================
Date: 2016-01-17
Contributor: ZZ
- Add gameplay loop to Set.java
- Create two outer loops
- Separate input loop
- Create verification loop
- Create card drawing mechanism
- Modify Board.java
- Add getDeckSize()
- Fix resetNumCards()
- Issue #3: Choosing same card yields true for isSet()
- Issue ??: Need to debug error throwing in Set.java
================================================================================
================================================================================
Date: 2016-01-17
Contributor: SY + ZZ
- planned set finding algo!
- ZZ: implemented in test class, Algo.java
- SY: added to Set.java
- implemented gameplay loop
- for tomorrow: draw-at-will, quit-at-will, invalid entry errors, repeat card
errors
================================================================================
================================================================================
Date: 2016-01-15
Contributor: ZZ
- Create test cases for isSet()
================================================================================
================================================================================
Date: 2016-01-15
Contributor: SY
- Defined helper method checkAttr(Obj,Obj,Obj) in Set.java, which checks if three values are all the same or all different (returns false otherwise)
- Defined isSet(Card,Card,Card) which uses checkAttr to check each of the cards' attributes, and returns true if checkAttr() returns true for all of attributes.
- Test cases needed
================================================================================
================================================================================
Date: 2016-01-14
Contributor: ZZ
- Fix toString() to display row headings (A, B, C) and column headings (0, 1,
2, ...)
================================================================================
================================================================================
Date: 2016-01-14
Contributor: SY+ZZ
- made UML, Flow Chart, and a To-Do List
================================================================================
================================================================================
Date: 2016-01-13
Contributor: ZZ
- Create removeCard(), removeSet()
- Change headings for get(), draw()
- Create drawTo(row), drawAll()
- Create getCard()
- Add resetNumCards() to existing methods
- Create parsing for Set.java - may require more work in the future
- Parsing automatically adds valid chars (0-9, A-C, a-c) and converts and
stores them in an int array for processing by the verfication algorithm
once it is coded. Needs more extensive testing for what happens when the
amount of characters overflows the 1000 character mark
================================================================================
================================================================================
Date: 2016-01-13
Contributor: SY
- debugged Board's toString()!
- still need to do the A B C 0 1 2 3 thing but that can be done later as a
finishing touch
- an incomplete skeleton of Set.java (driver class)
- I say incomplete because there are more methods and things that we haven't
planned out yet; I simply included the ones I know we need to implement.
================================================================================
================================================================================
Date: 2016-01-12
Contributor: SY
- modified Card.java
- edited toString() to include varying number of spaces after card
- added methods to Board.java
- added distribute(). compiles, no nice way to test it yet, because there
is no mechanism yet for selecting cards for the board
- added toString(). compiles and works for freshly initialized 3x3 board, but
after running draw(), it printed the same 3x3 board twice. not sure if this
was a toString() issue or a draw() issue, worth looking at tomorrow. wanted
to take care of the A B C on the left and the 0 1 2 3 ... on the top as well
but think taking care of this draw()/toString() bug is a higher priority.
================================================================================
================================================================================
Date: 2016-01-12
Contributor: ZZ
- change data structure of board in Board.java to nested ArrayLists
- add default constructor to Board.java
- add numCards instance variable to Board.java in order to track cards
- will be used for future methods, such as distribute()
- add resetNumCards() to track numCards
- add deck generation methods
- create generateDeck()
- create shuffleDeck()
- add board manipulation methods
- create draw()
================================================================================
================================================================================
Date: 2016-01-11
Contributor: ZZ
- add mutators to Card.java
- add comments
================================================================================
================================================================================
Date: 2016-01-11
Contributor: SY
- added default constructor to Card.java
- created skeleton file for Board.java
================================================================================
================================================================================
Date: 2016-01-09
Contributor: SY
- created repo, registered team, added tentative Card.java
- Card.java includes discussed attributes (num, color, shape, shading),
accessors, toString(), and a constructor
- Card.java still needs a default constructor and mutators
================================================================================