Skip to content

Commit

Permalink
Merging jesse/master.
Browse files Browse the repository at this point in the history
Features:
Date not necessary.

Fixed compiler errors.
  • Loading branch information
jgillham committed May 6, 2013
1 parent 4b36de9 commit 101d3da
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 59 deletions.
37 changes: 0 additions & 37 deletions src/Date1.java

This file was deleted.

7 changes: 6 additions & 1 deletion src/LottoGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,29 @@ public LottoGame ( final Date drawingDate, final List<Integer> winningNumbers, f
*
* @return drawingDate
*/
/*
public Date getDrawingDate ( ) {
return this.drawingDate;
}
*/

/* This method gets the winning numbers for a game
*
* @return winngingNumbers
*/
/*
public List<Integer> getWinningNumbers ( ) {
return this.winningNumbers;
}
*/

/* This method gets the jackpot for a game
*
* @return jackpot
*/
/*
public double getJackpot ( ) {
return this.jackpot;
}
*/
*/
}
33 changes: 12 additions & 21 deletions src/oneTicket.java
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
}
*/
}

0 comments on commit 101d3da

Please sign in to comment.