qt911025 / dots-and-boxes-game

Dots And Boxes game on Electron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dots-and-boxes-game

A simple Dots & Boxes game made with Electron, jspm, Babel and PIXI.js

Before you use it

  1. Install io.js or Node.js. you should run in --harmony mode if you are using Node.js.
  2. Get into the project dir and run $ npm install
  3. In browser/jspm_packages/system.src.js, modify line 1202
// if on the server, remove the "file:" part from the dirname
if (System._nodeRequire)
  dirname = dirname.substr(5);

to

// if on the server, remove the "file:" part from the dirname
if (System._nodeRequire && dirname.substr(0, 5) == 'file:')
  dirname = dirname.substr(5);

Run

$ npm start

or debug using $ npm run debug

Build

Please run electron-packager by yourself.

License

MIT © QuenTine

About

Dots And Boxes game on Electron

License:MIT License


Languages

Language:JavaScript 89.6%Language:CSS 6.5%Language:HTML 3.9%