Closed larkz closed 3 years ago
In order to get this to run, i removed the toImmutableList()
method from kotlinx, and just left it
in src/main/kotlin/de/magoeke/kotlin/connectfour/controllers/impl/MainController.kt
private var board = Board((1..boardSize).map { Column(boardSize) })
// private var board = Board((1..boardSize).map { Column(boardSize) }.toImmutableList())
in src/main/kotlin/de/magoeke/kotlin/connectfour/models/Column.kt
val cells = this.cells//.toImmutableList()
Let me know if you find a way to get this working with the original code, there is still an issue with the maven central repository in his POM.xml file in the mageoeke repo.
Not going to fix this. We might move to a different implementation since we don't want a 7x7 board anyway.
Did you see this error at runtime, its missing a kotlinx immutables library, occurs at runtime when we try to run the connect4 class.