Loading .highscores.db +1 −8 Original line number Diff line number Diff line Greedy Brain 100 100 16419 gyuh 15 10 6103 kjhgj 15 10 6070 15 10 5869 15 10 2755 Foo 15 10 1938 Simple Brain 15 10 1781 hoooodnbjeijohgjg 15 10 1761 Ari 15 10 2169 Ari 15 10 1314 15 10 1215 .idea/workspace.xml +29 −38 Original line number Diff line number Diff line Loading @@ -7,19 +7,9 @@ </component> <component name="ChangeListManager"> <list default="true" id="78671b20-6a1e-42c8-be28-50b7f38fa7ff" name="Default Changelist" comment=""> <change afterPath="$PROJECT_DIR$/.idea/artifacts/sge_dist_jar.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/smarterBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.highscores.db" beforeDir="false" afterPath="$PROJECT_DIR$/.highscores.db" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/Brain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/Brain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/lazyBrain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/lazyBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/simpleBrain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/simpleBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/highScores/highScore.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/highScores/highScore.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleColor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleColor.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleRolloverEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleRolloverEvent.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/GUI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/GUI.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/SelfAwareCircle.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/SelfAwareCircle.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> Loading Loading @@ -80,7 +70,7 @@ <option name="presentableId" value="Default" /> <updated>1548370618181</updated> <workItem from="1548370619328" duration="375000" /> <workItem from="1580056843261" duration="20889000" /> <workItem from="1580056843261" duration="22958000" /> </task> <task id="LOCAL-00001" summary="Apparently working version."> <created>1580084914114</created> Loading @@ -89,7 +79,14 @@ <option name="project" value="LOCAL" /> <updated>1580084914114</updated> </task> <option name="localTasksCounter" value="2" /> <task id="LOCAL-00002" summary="Final version."> <created>1580091112832</created> <option name="number" value="00002" /> <option name="presentableId" value="LOCAL-00002" /> <option name="project" value="LOCAL" /> <updated>1580091112832</updated> </task> <option name="localTasksCounter" value="3" /> <servers /> </component> <component name="TypeScriptGeneratedFilesManager"> Loading @@ -97,7 +94,8 @@ </component> <component name="VcsManagerConfiguration"> <MESSAGE value="Apparently working version." /> <option name="LAST_COMMIT_MESSAGE" value="Apparently working version." /> <MESSAGE value="Final version." /> <option name="LAST_COMMIT_MESSAGE" value="Final version." /> </component> <component name="WindowStateProjectService"> <state x="841" y="354" key="#Project_Structure" timestamp="1580086148601"> Loading Loading @@ -140,30 +138,30 @@ <screen x="-2560" y="0" width="2560" height="1440" /> </state> <state x="-815" y="390" key="#xdebugger.evaluate/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580069192111" /> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1580087667145"> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1580093399530"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580087667145" /> <state x="1025" y="292" key="CommitChangelistDialog2" timestamp="1580091093422"> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580093399530" /> <state x="1025" y="292" key="CommitChangelistDialog2" timestamp="1580091112655"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1025" y="292" key="CommitChangelistDialog2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093422" /> <state width="2013" height="271" key="GridCell.Tab.0.bottom" timestamp="1580091093452"> <state x="1025" y="292" key="CommitChangelistDialog2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091112655" /> <state width="2013" height="271" key="GridCell.Tab.0.bottom" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.bottom/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093452" /> <state width="2013" height="271" key="GridCell.Tab.0.center" timestamp="1580091093451"> <state width="2013" height="271" key="GridCell.Tab.0.bottom/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="271" key="GridCell.Tab.0.center" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.center/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093451" /> <state width="2013" height="271" key="GridCell.Tab.0.left" timestamp="1580091093450"> <state width="2013" height="271" key="GridCell.Tab.0.center/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="271" key="GridCell.Tab.0.left" timestamp="1580097406246"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.left/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093450" /> <state width="2013" height="271" key="GridCell.Tab.0.right" timestamp="1580091093451"> <state width="2013" height="271" key="GridCell.Tab.0.left/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406246" /> <state width="2013" height="271" key="GridCell.Tab.0.right" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.right/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093451" /> <state width="2013" height="271" key="GridCell.Tab.0.right/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="466" key="GridCell.Tab.1.bottom" timestamp="1580074485214"> <screen x="0" y="23" width="2560" height="1337" /> </state> Loading @@ -184,24 +182,17 @@ <screen x="-2560" y="0" width="2560" height="1440" /> </state> <state x="-1131" y="242" key="SettingsEditor/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580085716244" /> <state x="1046" y="429" key="Vcs.Push.Dialog.v2" timestamp="1580084921310"> <state x="1046" y="429" key="Vcs.Push.Dialog.v2" timestamp="1580091114923"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1046" y="429" key="Vcs.Push.Dialog.v2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580084921310" /> <state x="1046" y="429" key="Vcs.Push.Dialog.v2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091114923" /> <state x="934" y="525" key="com.intellij.ide.util.TipDialog" timestamp="1580056854823"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="934" y="525" key="com.intellij.ide.util.TipDialog/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580056854823" /> </component> <component name="XDebuggerManager"> <breakpoint-manager> <breakpoints> <line-breakpoint enabled="true" type="java-line"> <url>file://$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java</url> <line>81</line> <option name="timeStamp" value="9" /> </line-breakpoint> </breakpoints> </breakpoint-manager> <state x="618" y="294" key="new project wizard" timestamp="1580094027542"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="618" y="294" key="new project wizard/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580094027542" /> </component> </project> No newline at end of file src/edu/bu/ec504/spr19/Brain/Brain.java +4 −2 Original line number Diff line number Diff line Loading @@ -14,23 +14,25 @@ public abstract class Brain implements Runnable { // methods /** * Constructor - records the GUI attached to this brain * A constructor that accepts a parameter representing the GUI interface on which the game is played. */ Brain(GUI myGUI) { this.myGUI = myGUI; } /** * This is called when the Brain is being asked to close down. * This is called when the Brain is being asked to close down (i.e., the game is over). * It should clean up any data structures and/or signal threads to close, etc. */ public abstract void allDone(); /** * Each Brain should have a name, which is provided by this method. * @return the name of the brain */ public abstract String myName(); /** * Starts the Brain a'thinking. * This is the code for making decisions about which circles you Brain selects. * @see java.lang.Runnable#run() */ public abstract void run(); Loading src/edu/bu/ec504/spr19/sameGameTris/sge.java +1 −1 File changed.Contains only whitespace changes. Show changes Loading
.highscores.db +1 −8 Original line number Diff line number Diff line Greedy Brain 100 100 16419 gyuh 15 10 6103 kjhgj 15 10 6070 15 10 5869 15 10 2755 Foo 15 10 1938 Simple Brain 15 10 1781 hoooodnbjeijohgjg 15 10 1761 Ari 15 10 2169 Ari 15 10 1314 15 10 1215
.idea/workspace.xml +29 −38 Original line number Diff line number Diff line Loading @@ -7,19 +7,9 @@ </component> <component name="ChangeListManager"> <list default="true" id="78671b20-6a1e-42c8-be28-50b7f38fa7ff" name="Default Changelist" comment=""> <change afterPath="$PROJECT_DIR$/.idea/artifacts/sge_dist_jar.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/smarterBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.highscores.db" beforeDir="false" afterPath="$PROJECT_DIR$/.highscores.db" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/Brain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/Brain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/lazyBrain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/lazyBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/simpleBrain.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/Brain/simpleBrain.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/highScores/highScore.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/highScores/highScore.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleColor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleColor.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleRolloverEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/CircleRolloverEvent.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/GUI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/GUI.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/SelfAwareCircle.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/SelfAwareCircle.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> Loading Loading @@ -80,7 +70,7 @@ <option name="presentableId" value="Default" /> <updated>1548370618181</updated> <workItem from="1548370619328" duration="375000" /> <workItem from="1580056843261" duration="20889000" /> <workItem from="1580056843261" duration="22958000" /> </task> <task id="LOCAL-00001" summary="Apparently working version."> <created>1580084914114</created> Loading @@ -89,7 +79,14 @@ <option name="project" value="LOCAL" /> <updated>1580084914114</updated> </task> <option name="localTasksCounter" value="2" /> <task id="LOCAL-00002" summary="Final version."> <created>1580091112832</created> <option name="number" value="00002" /> <option name="presentableId" value="LOCAL-00002" /> <option name="project" value="LOCAL" /> <updated>1580091112832</updated> </task> <option name="localTasksCounter" value="3" /> <servers /> </component> <component name="TypeScriptGeneratedFilesManager"> Loading @@ -97,7 +94,8 @@ </component> <component name="VcsManagerConfiguration"> <MESSAGE value="Apparently working version." /> <option name="LAST_COMMIT_MESSAGE" value="Apparently working version." /> <MESSAGE value="Final version." /> <option name="LAST_COMMIT_MESSAGE" value="Final version." /> </component> <component name="WindowStateProjectService"> <state x="841" y="354" key="#Project_Structure" timestamp="1580086148601"> Loading Loading @@ -140,30 +138,30 @@ <screen x="-2560" y="0" width="2560" height="1440" /> </state> <state x="-815" y="390" key="#xdebugger.evaluate/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580069192111" /> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1580087667145"> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1580093399530"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580087667145" /> <state x="1025" y="292" key="CommitChangelistDialog2" timestamp="1580091093422"> <state x="1025" y="555" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580093399530" /> <state x="1025" y="292" key="CommitChangelistDialog2" timestamp="1580091112655"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1025" y="292" key="CommitChangelistDialog2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093422" /> <state width="2013" height="271" key="GridCell.Tab.0.bottom" timestamp="1580091093452"> <state x="1025" y="292" key="CommitChangelistDialog2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091112655" /> <state width="2013" height="271" key="GridCell.Tab.0.bottom" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.bottom/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093452" /> <state width="2013" height="271" key="GridCell.Tab.0.center" timestamp="1580091093451"> <state width="2013" height="271" key="GridCell.Tab.0.bottom/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="271" key="GridCell.Tab.0.center" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.center/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093451" /> <state width="2013" height="271" key="GridCell.Tab.0.left" timestamp="1580091093450"> <state width="2013" height="271" key="GridCell.Tab.0.center/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="271" key="GridCell.Tab.0.left" timestamp="1580097406246"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.left/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093450" /> <state width="2013" height="271" key="GridCell.Tab.0.right" timestamp="1580091093451"> <state width="2013" height="271" key="GridCell.Tab.0.left/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406246" /> <state width="2013" height="271" key="GridCell.Tab.0.right" timestamp="1580097406247"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state width="2013" height="271" key="GridCell.Tab.0.right/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091093451" /> <state width="2013" height="271" key="GridCell.Tab.0.right/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580097406247" /> <state width="2013" height="466" key="GridCell.Tab.1.bottom" timestamp="1580074485214"> <screen x="0" y="23" width="2560" height="1337" /> </state> Loading @@ -184,24 +182,17 @@ <screen x="-2560" y="0" width="2560" height="1440" /> </state> <state x="-1131" y="242" key="SettingsEditor/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580085716244" /> <state x="1046" y="429" key="Vcs.Push.Dialog.v2" timestamp="1580084921310"> <state x="1046" y="429" key="Vcs.Push.Dialog.v2" timestamp="1580091114923"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="1046" y="429" key="Vcs.Push.Dialog.v2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580084921310" /> <state x="1046" y="429" key="Vcs.Push.Dialog.v2/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580091114923" /> <state x="934" y="525" key="com.intellij.ide.util.TipDialog" timestamp="1580056854823"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="934" y="525" key="com.intellij.ide.util.TipDialog/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580056854823" /> </component> <component name="XDebuggerManager"> <breakpoint-manager> <breakpoints> <line-breakpoint enabled="true" type="java-line"> <url>file://$PROJECT_DIR$/src/edu/bu/ec504/spr19/sameGameTris/sge.java</url> <line>81</line> <option name="timeStamp" value="9" /> </line-breakpoint> </breakpoints> </breakpoint-manager> <state x="618" y="294" key="new project wizard" timestamp="1580094027542"> <screen x="0" y="23" width="2560" height="1337" /> </state> <state x="618" y="294" key="new project wizard/0.23.2560.1337/-2560.0.2560.1440@0.23.2560.1337" timestamp="1580094027542" /> </component> </project> No newline at end of file
src/edu/bu/ec504/spr19/Brain/Brain.java +4 −2 Original line number Diff line number Diff line Loading @@ -14,23 +14,25 @@ public abstract class Brain implements Runnable { // methods /** * Constructor - records the GUI attached to this brain * A constructor that accepts a parameter representing the GUI interface on which the game is played. */ Brain(GUI myGUI) { this.myGUI = myGUI; } /** * This is called when the Brain is being asked to close down. * This is called when the Brain is being asked to close down (i.e., the game is over). * It should clean up any data structures and/or signal threads to close, etc. */ public abstract void allDone(); /** * Each Brain should have a name, which is provided by this method. * @return the name of the brain */ public abstract String myName(); /** * Starts the Brain a'thinking. * This is the code for making decisions about which circles you Brain selects. * @see java.lang.Runnable#run() */ public abstract void run(); Loading
src/edu/bu/ec504/spr19/sameGameTris/sge.java +1 −1 File changed.Contains only whitespace changes. Show changes