Skip to content

Example template for a CodeCraft program that will run in the browser.

Notifications You must be signed in to change notification settings

cswinter/codecraft-js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeCraft.js Example

Example template for a CodeCraft application that uses Scala.js to target the browser. This can be a useful as a workaround in cases where the OpenGL graphics don't display properly on the JVM.

Running sbt fastOptJS will compile and generate the JavaScript. To start the program, open/refresh file:///$PROJECT_PATH/target/scala-2.11/classes/index.html in a browser (Chrome tends to work best).

About

Example template for a CodeCraft program that will run in the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published