Skip to content

Commit

Permalink
shiptype
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0s007 committed Jun 17, 2023
1 parent eac17d8 commit a909f9c
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions shipsgame/.idea/modules/shipsgame.iml

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

1 change: 1 addition & 0 deletions shipsgame/src/main/battleship/Board.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import scala.collection.mutable
import scala.math
import scala.math.abs
import main.battleship.ShipType
import main.battleship.ShipType.ShipType

class Board {
var occupied = new mutable.HashSet[(Int, Int)]();
Expand Down
1 change: 1 addition & 0 deletions shipsgame/src/main/battleship/ShipType.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package main.battleship

object ShipType extends Enumeration {
type ShipType = Value
val Type1, Type2, Type3, Type4 = Value
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[error] sbt.librarymanagement.ResolveException: Error downloading org.openjfx:javafx:16.0.1
[error] Not found
[error] Not found
[error] not found: C:\Users\Lenovo\.ivy2\localorg.openjfx\javafx\16.0.1\ivys\ivy.xml
[error] not found: https://repo1.maven.org/maven2/org/openjfx/javafx/16.0.1/javafx-16.0.1.pom
[error] at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:344)
[error] at lmcoursier.CoursierDependencyResolution.$anonfun$update$38(CoursierDependencyResolution.scala:313)
[error] at scala.util.Either$LeftProjection.map(Either.scala:573)
[error] at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:313)
[error] at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:59)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:133)
[error] at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:73)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:146)
[error] at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:146)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:127)
[error] at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:219)
[error] at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:160)
[error] at sbt.Classpaths$.$anonfun$updateTask0$1(Defaults.scala:3687)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[error] at java.base/java.lang.Thread.run(Thread.java:833)
[error] (ssExtractDependencies) sbt.librarymanagement.ResolveException: Error downloading org.openjfx:javafx:16.0.1
[error] Not found
[error] Not found
[error] not found: C:\Users\Lenovo\.ivy2\localorg.openjfx\javafx\16.0.1\ivys\ivy.xml
[error] not found: https://repo1.maven.org/maven2/org/openjfx/javafx/16.0.1/javafx-16.0.1.pom

0 comments on commit a909f9c

Please sign in to comment.