Skip to content
Playing and editing puzzles by Javascript
Branch: master
Clone or download
Pull request Compare This branch is 33 commits ahead of sabo2:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
sample failcode.html: Suppress pid property Jul 17, 2016
src
test need to remove edges before removing node Mar 15, 2019
.gitignore project: repositoryの追加やMarkDown documentなどを追加しました Aug 9, 2015
.hgignore project: repositoryの追加やMarkDown documentなどを追加しました Aug 9, 2015
.hgtags
.jshintrc
.npmignore
.travis.yml set up travis Mar 14, 2019
Changelog.md
Gruntfile.js
LICENSE.txt リポジトリにLICENSE.txtを追加しました Oct 5, 2014
Makefile
README.md
index.js env: node.js環境でpzpr以外のグローバル名前空間を汚さないよう処理を変更します Jan 13, 2016
package.json add mocha to dev dependencies Mar 13, 2019

README.md

pzpr.js

About pzpr.js

pzpr.js enables to create or edit "pencil puzzles" which we solve with specific rules on boards.

This script is developed against HTML5 features and JavaScript.

Working environment

Browser support (Recommended)

  • Firefox (latest stable version)
  • Google Chrome (latest stable version)
  • Safari 9.0+
  • Microsft Edge

Browser support (Possible)

  • Internet Explorer 11
  • Safari 5.1+
  • Opera 12.17
  • iOS 9+
  • Android 4.4+
  • WiiU

Node.js support

If you want to use, simply install this module. Node.js v4.0 or later is required. pzpr.js is likely to work under v0.12 or older but unchecked.

usage for node.js

var pzpr = require('pzpr');

var puzzle = new pzpr.Puzzle({type:'player'}).open('nurikabe/5/5/g5k2o1k3g');

console.log(puzzle.check().text);
// -> 'An area of unshaded cells has plural numbers.'

Documents

Releases

  • 2017/07/29 v0.10.0
  • 2017/04/21 v0.9.1
  • 2017/04/20 v0.9.0
  • 2017/04/16 v0.9.0-beta2
  • 2017/04/14 v0.9.0-beta1
  • 2017/02/13 v0.8.1
  • 2017/02/08 v0.8.0
  • 2017/01/09 v0.8.0-beta2
  • 2016/12/31 v0.8.0-beta1
  • 2016/12/03 v0.7.1
  • 2016/10/10 v0.7.0
  • 2016/09/19 v0.6.1
  • 2016/09/18 v0.6.0
  • 2016/09/03 v0.5.1
  • 2016/08/10 v0.5.0
  • 2016/08/02 v0.4.0
  • 2016/03/06 v0.3.2
  • 2016/03/03 v0.3.1
  • 2016/02/28 v0.3.0
  • 2016/02/16 v0.2.2
  • 2016/02/13 v0.2.0
  • 2016/02/11 v0.1.0
  • 2016/02/06 v0.0.2
  • 2016/01/31 v0.0.1
  • 2015/12/29 pzprv3-v3.5.2
  • 2015/08/16 pzprv3-v3.5.1

Links

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.