Game entry point.
Methods
# inner main(level) → {void}
Instantiate and begin a new game.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
level |
number
|
1 | the level to play |
void
# inner play(level) → {void}
Handle game instantiation from the splash screen.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
level |
number
|
1 | the level to play |
void