Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #1

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1576a02
Added pom, hamurabi, and hamurabitest
Nov 12, 2022
e9f204b
Merge pull request #1 from fmintar1/main
fmintar1 Nov 12, 2022
4a18b9f
Checkpoint
Nov 12, 2022
9a2e7a4
Merge pull request #2 from fmintar1/main
Emory-Miller Nov 12, 2022
3786f78
FREDDY CHECK THIS ONE OUT WHAT DO YOU THINK
Nov 12, 2022
f32664f
I MADE SOME CHANGES
Nov 12, 2022
023b8e4
Changed everything....
Nov 13, 2022
0fa8c9a
Finished State Class and State Tests
Nov 13, 2022
c5f6b08
Added some stuff, rearranged some things
Nov 13, 2022
8e43f76
Added lots of changes & updates
fmintar1 Nov 13, 2022
e6128da
Merge pull request #11 from fmintar1/main
Emory-Miller Nov 13, 2022
8bd5d9f
Committing take 999
fmintar1 Nov 13, 2022
4f6b4a1
FINAL PUSH
fmintar1 Nov 13, 2022
ca17fee
Merge pull request #13 from fmintar1/main
fmintar1 Nov 13, 2022
9afea13
Moved all output/input to the console class
Nov 13, 2022
af7f668
Merge pull request #14 from Emory-Miller/main
Emory-Miller Nov 13, 2022
599a264
Wrote all possible tests, all passed
fmintar1 Nov 13, 2022
e1bcb79
Merge pull request #15 from fmintar1/main
fmintar1 Nov 13, 2022
1aff829
Space Version
fmintar1 Nov 14, 2022
6cbfdfe
Last minute bug fixes
Nov 14, 2022
eb7939b
Merge pull request #16 from Emory-Miller/main
Emory-Miller Nov 14, 2022
033e5a5
Fixed the different ending bugs & eliminate exit game method
fmintar1 Nov 14, 2022
fa30e80
final edition
fmintar1 Nov 14, 2022
239e1dd
Merge branch 'main' into main
fmintar1 Nov 14, 2022
5b49fe4
Merge pull request #17 from fmintar1/main
fmintar1 Nov 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added .idea/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__junit_junit_4_13_2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_2.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_9_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions HammurabiTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package hammurabi;

import static org.junit.Assert.*;

import org.junit.Before;
Expand All @@ -8,7 +6,7 @@
public class HammurabiTest {

Hammurabi ham;

boolean about(double expected, double actual) {
return actual > 0.90 * expected && actual < 1.10 * expected;
}
Expand Down
25 changes: 25 additions & 0 deletions Hamurabi.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_19">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.opentest4j:opentest4j:1.2.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-commons:1.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-params:5.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-engine:5.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-engine:1.9.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.13.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
</component>
</module>
Loading