Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Commit f178d4f

Browse files
committed
adding some of the documentation
1 parent 7992173 commit f178d4f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/hello/cardGame.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ public static void main(String[] args) {
1717
// Make the game Context of the game
1818

1919
SimpleCardGame context = new SimpleCardGame(suraj, preetam, soumya, avinash);
20-
// start the game play and verify if win is achieved in round 1
20+
// start the game play and verify if win is achieved in round 1\
21+
/* if any player is 'Winner' @return
22+
2 = [ tie state ]
23+
1 = [ winner decided] else
24+
0= [ undecided -- need another step ]
25+
26+
the game handler at Main () does the runn through here cardGame.class
27+
*/
2128
int stepper=0;
2229
for (context.start();stepper != 1; ){
2330
stepper = context.step() ;

0 commit comments

Comments
 (0)