-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
Given that wasm4 is a rather very discrete system, it may not need access to a proper timer as suggested here:
#365
Instead of a timer, the vast majority of time user can simply use a game loop counter. In addition, on some systems (e.g. on some Arduino) the timer is simply not available.
But what is really needed is a seed to randomize the initial random state from run to run. Of course, you can use entropy harvesting tricks from user's input, but that's a waste of resources (time & wasm size) IMHO. While this could be delegated to the host via adding according API.
ibillingsley
Metadata
Metadata
Assignees
Labels
No labels