|
|
@ -8,7 +8,6 @@ import kotlinx.browser.document |
|
|
|
import kotlinx.browser.window |
|
|
|
import kotlinx.browser.window |
|
|
|
import kotlinx.coroutines.delay |
|
|
|
import kotlinx.coroutines.delay |
|
|
|
import org.jetbrains.compose.web.attributes.InputType |
|
|
|
import org.jetbrains.compose.web.attributes.InputType |
|
|
|
import org.jetbrains.compose.web.attributes.checked |
|
|
|
|
|
|
|
import org.jetbrains.compose.web.attributes.disabled |
|
|
|
import org.jetbrains.compose.web.attributes.disabled |
|
|
|
import org.jetbrains.compose.web.css.marginTop |
|
|
|
import org.jetbrains.compose.web.css.marginTop |
|
|
|
import org.jetbrains.compose.web.css.px |
|
|
|
import org.jetbrains.compose.web.css.px |
|
|
@ -18,7 +17,6 @@ import org.w3c.dom.HTMLElement |
|
|
|
import org.w3c.dom.events.KeyboardEvent |
|
|
|
import org.w3c.dom.events.KeyboardEvent |
|
|
|
import org.w3c.dom.get |
|
|
|
import org.w3c.dom.get |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fun main() { |
|
|
|
fun main() { |
|
|
|
|
|
|
|
|
|
|
|
val game: Game = ComposeBirdGame() |
|
|
|
val game: Game = ComposeBirdGame() |
|
|
@ -82,7 +80,7 @@ fun main() { |
|
|
|
|
|
|
|
|
|
|
|
if (isTube || isBird) { |
|
|
|
if (isTube || isBird) { |
|
|
|
// if it's either a tube node or bird, check it |
|
|
|
// if it's either a tube node or bird, check it |
|
|
|
checked() |
|
|
|
checked(true) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!isBird) { |
|
|
|
if (!isBird) { |
|
|
|