-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features: Date not necessary. Fixed compiler errors.
- Loading branch information
Showing
3 changed files
with
18 additions
and
59 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,20 @@ | ||
public class oneTicket { | ||
/* Doesn't compile | ||
import java.util.List; | ||
public class oneTicket implements Strategy { | ||
//int numPlays; | ||
|
||
public oneTicket ( final int numPlays, final List <LottoGame> history ) { | ||
public oneTicket ( final int numPlays, final List <Drawing> history ) { | ||
//this.numPlays = numPlays; | ||
printResults ( analyze ( play ( numPlays, history ) ) ); // Method headers will be adjusted later | ||
// Method headers will be adjusted later | ||
printResults ( analyze ( play ( history ), history ) ); | ||
} | ||
public static void play ( final int numPlays, final List <LottoGame> history ) { | ||
for ( int i = 0; i <= numPlays; i++ ) { | ||
} | ||
public List< Ticket > play ( final List< Drawing > history ) { | ||
throw new UnsupportedOperationException( "Please implement." ); | ||
} | ||
public static void analyze ( ) { | ||
public List< Hit > analyze ( final List< Ticket > tickets, | ||
final List< Drawing > history ) { | ||
throw new UnsupportedOperationException( "Please implement." ); | ||
} | ||
public static void printResults ( ) { | ||
public void printResults ( List< Hit > hits ) { | ||
throw new UnsupportedOperationException( "Please implement." ); | ||
} | ||
public static void graphData ( ) { // If we find an easy way to generate graphs | ||
} | ||
*/ | ||
} |