Multiple Instances
Each call to Dos
constructor creates new js-dos instance that works independently.
In example below you can see 4 DOS games on single page:
examples/multiple-instances.html
Run
{}
Each call to Dos
constructor creates new js-dos instance that works independently.
In example below you can see 4 DOS games on single page: