generated from rnentjes/kotlin-server-web-undertow
Refactor PlatformSpecific, update MonTanaMiniComputer and MTMCDisplay logic, add splash screen rendering with SplashData, and optimize observer calls and color initialization.
This commit is contained in:
@@ -11,12 +11,14 @@ val mainView = MTMCView(computer)
|
||||
val display = DisplayView(computer)
|
||||
|
||||
fun main() {
|
||||
computer.speed = 2000000 // default to 1hz
|
||||
computer.speed = 1000000
|
||||
computer.load(lifeCode, lifeData)
|
||||
//computer.load(snakeCode, snakeData)
|
||||
|
||||
Komponent.create(document.body!!, mainView)
|
||||
|
||||
computer.start()
|
||||
|
||||
mainView.requestUpdate()
|
||||
display.requestUpdate()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user