Code Monkey home page Code Monkey logo

wasm4-docker's Introduction

wasm4

Docker image to create and develop games for the Fantasy Console WASM-4.

Image variants: anihex/wasm4:-

All variants include the following tools:

  • The w4 CLI
  • Binaryen (wasm-opt etc)

Aside from that, there currently there are the following variants: full, assemblyscript, c, d, go, nelua, nim, odin, rust and zig.

Almost all variants include the C-variant. Exceptions are assemblyscript and go.

Examples:

docker pull anihex/wasm4:2.1.0-full
docker pull anihex/wasm4:2.1.0-c
docker pull anihex/wasm4:latest   # Implicit full-variant
docker pull anihex/wasm4:go

Usage

The default command is w4 watch. This can be changed by overriding the command. If a completely different command is required, the entrypoint needs to be overridden.

Examples:

docker run --rm -v $PWD:/cart -p 4444:4444 anihex/wasm4:latest      # Starts the watcher in the current directory
docker run --rm -v $PWD:/cart anihex/wasm4:latest new --c hello-c   # Creates a new project called hello-c
docker run --rm -it $PWD:/cart -entrypoint bash anihex/wasm4:latest # Starts the bash-terminal

Ports

The default port is 4444. For examples, look at Usage.

Mounts

The standard-mountpoint is /cart. For examples, look at Usage.

Contributing

WASM-4 is OpenSource and is hosted on GitHub: https://github.com/aduros/wasm4
The docker-files for this can be found on https://github.com/christopher-kleine/wasm4-docker

wasm4-docker's People

Contributors

christopher-kleine avatar tjpalmer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tjpalmer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.