For making mobile apps.
The plan is to make a tutorial-style course for teaching JS/this lib.
For now, there's an API Reference.
game-over was taken.
Install Node.js, which includes NPM.
$ npm install -g you-win
Open a terminal (Command Prompt on Windows, Terminal on macOS/Linux).
cd command to move into the directory of your choice.
Start a new project, by typing:
This will create a new game from the
you-win template, which should save you a bit of typing.
first.js file you just created in your favourite text editor: for example Gedit (Ubuntu only), VSCode, Brackets, or Sublime Text. The template should look like this.
Back in your Terminal, you should see a web address output to the console, eg
http://192.168.1.10:8000/. Open that address in a web browser, preferably Chromium or Google Chrome. (You can also open the same link on your phone.)
you-windibstribution. The images are scaled down and palletised for compression and "retro" look. I believe this complies with the Free License Agreement.
emitter.jsadapted from nathan/v2