crisp-game-lib
English | 日本語
crisp-game-lib
is a JavaScript library for creating browser games quickly and easily.
Getting started
-
Download docs/getting_started/index.html.
-
Open
index.html
in a text editor and write the code of your game in the<script>
element. -
Open
index.html
in a browser and play the game. -
You can publish the game by putting
index.html
on your web server.
Write your own game (with the help of IntelliSense and Live Reload)
-
Clone or download this repository.
-
npm install
-
Copy the
docs/_template
directory and rename it todocs/[your own game name]
. -
Open
docs/[your own game name]/main.js
with the editor (VSCode is recommended) and write your own game code. -
npm run watch_games
-
Open the URL
http://localhost:4000?[your own game name]
with a browser to play the game. The page is live-reloaded when the code…