201312003
97
- Nice use of objects. Both a player and card object.
-
Can bet multiple times.
- Code could be more organized with extra methods
201532027
94
- Can bet multiple times
-
has error checking
- no objects
201661008
94
201681001
97
‘while (3>1) is the same as ‘while (true)’’
201681002
85
- good use of indentation
-
organized code
- no extras
- ‘Scanner RePlay = new Scanner(System.in);’ variables should start with lower case letters
- do not use one letter for variable names
- avoid using break and continue statements when possible
- this code is the same as 201681018, this was an individual assignment
‘while(0<1)’ is the same as ‘while (true)’
201681003
NA
no submission
201681004
85
- good use of indentation
-
organized code
- no extras
- ‘Scanner RePlay = new Scanner(System.in);’ variables should start with lower case letters
- do not use one letter for variable names
- avoid using break and continue statements when possible
- this code is the same as 201681018, this was an individual assignment
‘while(0<2)’ is the same as ‘while (true)’
201681005
NA
no submission
201681006
84
201681007
NA
talk to me after class if this is your submission - you were almost there
201681008
95
-
works on two humans
- you do not need two copies of play_human and play_human2, just use the same method!
- avoid using break and continue statements when possible
You have an array, but you don’t actually use it at all.
201681009
NA
this file as many easy errors that can be fixed. Talk to me after class if this was your submission
201681011
90
201681012
82
-
organized code
- no extras
- cannot play multiple times. I make a bet then the program ends
you made a ‘turn’ field in the player object, but never used it.
201681013
85
201681014
50
201681016
0
- this code is copied, nearly verbatim from http://codereview.stackexchange.com/questions/46439/first-attempt-at-a-blackjack-game
speak to me after class if this was your submission
201681017
75
201681018
85
- good use of indentation
-
organized code
- no extras
- ‘Scanner RePlay = new Scanner(System.in);’ variables should start with lower case letters
- do not use one letter for variable names
- avoid using break and continue statements when possible
- this code is the same as 201681004, this was an individual assignment
‘while(0<2)’ is the same as ‘while (true)’
201681019
97
- added suits to cards
- user can choose between 1 and 11
- great use of methods like card() and bet()
- Added suits to the cards (using cool characters too)
while(3>1) is the same as while(true)
201681020
100
- very nice use of printf
- very good use of extends and the super constructor!
In this case, you do not actually want to use extends however. If you want to learn more about why this is incorrect, talk to me after class.
could have separated ‘two humans’ and ‘human vs computer’ into individual methods for better organization.