diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright [2020] [Alexander Sukhoverkhov] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -6,19 +6,18 @@ Compiler for QSP games which creates mon There are three mastery levels -1. Just build me the game: - -`sugar-qsp game.txt` +1. Just build me the game:\ +`sugar-qsp game.txt`\ And it will create the game in game.html -2. I know what I'm doing: -`sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` +2. I know what I'm doing:\ +`sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` All options are self-explanatory. The result is a monolithic html specified with the `-o` option. Default `body.html` (used by the first mastery level) can be found in `extas` directory. -3. I'm a frontend developer! -`sugar-qsp game.txt -c -o game.js` +3. I'm a frontend developer!\ +`sugar-qsp game.txt -c -o game.js`\ It just builds the game script into a js you can put on your website. To run the game execute `SugarQSP.start()` @@ -29,16 +28,16 @@ the game execute `SugarQSP.start()` Есть три уровня мастерства. -1. Просто собери мне игру: -`sugar-qsp game.txt` +1. Просто собери мне игру: +`sugar-qsp game.txt` Создаст игру в game.html -2. Я знаю что делаю: -`sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` +2. Я знаю что делаю: +`sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html` по-умолчанию лежит в каталоге `extras`. -3. Я - фронтендер! -`sugar-qsp game.txt -c -o game.js` +3. Я - фронтендер! +`sugar-qsp game.txt -c -o game.js` Просто соберёт игру в Javascript файл который вы можете разместить на своём сайте как вам угодно. Для запуска игры вызовите `SugarQSP.start()`.