-
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.
* Updated README.md Added source and target compatibilities in the build.gradle Moved WidgetEventFactory to the factory package * Start to redoing the front end of Emoji Math Deleted Ternary.java and old_suvenir.fxml * Forgot the State class * Refurbished Emoji Math * Minor word changes in BooleanController * Starting the move to a Finite State Machine in TwoBit * Implemented TwoBit with a state machine * Refurbished Extra Note Prepare version for minor change * Mostly finished with the AstrologyController remodel * Finished Astrology redesign * Minor quick fixes * Changed the enum to just numbers * Refurbished Blind Alley * Finished FastMath Updated the version number to reflect number of completed puzzles Updated Progress.md * Deleted remnants of old Souvenir
- Loading branch information
1 parent
f2a1a27
commit 5dddfee
Showing
60 changed files
with
1,251 additions
and
1,241 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package bomb.abstractions; | ||
|
||
public interface State<T> { | ||
T nextState(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
package bomb.enumerations; | ||
|
||
import bomb.abstractions.Ternary; | ||
public enum Indicator { | ||
BOB, CAR, CLR, FRK, FRQ, IND, MSA, NSA, SIG, SND, TRN; | ||
|
||
public enum Indicator implements Ternary { | ||
BOB(TrinaryState.UNKNOWN), CAR(TrinaryState.UNKNOWN), CLR(TrinaryState.UNKNOWN), | ||
FRK(TrinaryState.UNKNOWN), FRQ(TrinaryState.UNKNOWN), IND(TrinaryState.UNKNOWN), | ||
MSA(TrinaryState.UNKNOWN), NSA(TrinaryState.UNKNOWN), SIG(TrinaryState.UNKNOWN), | ||
SND(TrinaryState.UNKNOWN), TRN(TrinaryState.UNKNOWN); | ||
private TrinarySwitch state; | ||
|
||
private TrinaryState state; | ||
|
||
@Override | ||
public TrinaryState getState() { | ||
public TrinarySwitch getState() { | ||
return state; | ||
} | ||
|
||
@Override | ||
public void setState(TrinaryState in){ | ||
public void setState(TrinarySwitch in){ | ||
state = in; | ||
} | ||
|
||
Indicator(TrinaryState in){ | ||
state = in; | ||
Indicator(){ | ||
state = TrinarySwitch.UNKNOWN; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package bomb.enumerations; | ||
|
||
/** | ||
* TrinarySwitch deals with anything that needs to have 3 states of existence: On, Off or Unknown. | ||
* This is most prevalent with the Indicators because we need to be able to track ones on the bomb | ||
* that are lit and unlit. | ||
*/ | ||
public enum TrinarySwitch { | ||
/** | ||
* The off state | ||
*/ | ||
OFF, | ||
/** | ||
* The on state | ||
*/ | ||
ON, | ||
/** | ||
* The unknown state | ||
*/ | ||
UNKNOWN | ||
} |
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
Oops, something went wrong.