We can create an Object
with {}
:
let chara = {};
{"START":[["You stand between a field of sheep and a field of cows."],[""],["You wonder what the cows are up to, but you can't figure it out."],[""],["Go to the cows","COWFIELD"],["Go to the sheep","SHEEPFIELD"],[""]],"__STARTSECTION__":"START","COWFIELD":[["Cows are rolling about."],[""],["Roll with the cows","COWFIELD2"],["Leave this place","START"],[""]],"COWFIELD2":[["You roll around for a bit, but you don't feel that you really fit in here."],[""],["Leave this place","START"],[""]],"SHEEPFIELD":[["Sheep are jumping up and down"],[""],["Jump with the sheep","SHEEPFIELD2"],["Leave this place","START"],[""]],"SHEEPFIELD2":[["You jump up and down, just like the sheep, but however hard and long you try they still look at you differently."],[""],["Leave this place","START"],[""]]} |
<iframe frameborder="0" src="https://itch.io/embed-upload/189275?color=333333" allowfullscreen="" width="900" height="620"></iframe> |
var gulp = require('gulp'); | |
var mochaPhantomJS = require('gulp-mocha-phantomjs'); | |
var connect = require('gulp-connect'); | |
gulp.task('connect:test', function () { | |
return connect.server({ | |
root: ['app', 'test', 'node_modules'], // node_modules so the runner can include mocha/chai/sinon assets | |
port: 3001 | |
}); | |
}); |
deck:current kanji:(一) or kanji:(二) or kanji:(三) or kanji:(四) or kanji:(五) or kanji:(六) or kanji:(七) or kanji:(八) or kanji:(九) or kanji:(十) or kanji:(口) or kanji:(日) or kanji:(月) or kanji:(田) or kanji:(目) or kanji:(古) or kanji:(吾) or kanji:(冒) or kanji:(明) or kanji:(品) or kanji:(呂) or kanji:(早) or kanji:(世) or kanji:(胃) or kanji:(旦) or kanji:(旧) or kanji:(自) or kanji:(白) or kanji:(百) or kanji:(中) or kanji:(千) or kanji:(舌) or kanji:(升) or kanji:(昇) or kanji:(丸) or kanji:(寸) or kanji:(専) or kanji:(博) or kanji:(占) or kanji:(上) or kanji:(下) or kanji:(朝) or kanji:(貝) or kanji:(員) or kanji:(見) or kanji:(児) or kanji:(元) or kanji:(頁) or kanji:(凡) or kanji:(負) or kanji:(万) or kanji:(句) or kanji:(肌) or kanji:(勺) or kanji:(的) or kanji:(首) or kanji:(乙) or kanji:(乱) or kanji:(直) or kanji:(具) or kanji:(真) or kanji:(工) or kanji:(左) or kanji:(右) or kanji:(有) or kanji:(刀) or kanji:(刃) or kanji:(切) or kanji:(召) or kanji:(昭) or kanji:(則) or kanji:(副) or kanji:(別) or kanji:(丁) or kanji:(町) or kanji:(可) or kanji:(頂) or kanji:(子) |
/* | |
Automation for crafting static templates. Features: | |
- Less for CSS | |
- Swig templates for HTML (optional, but useful if you have to repeat header, footer, etc.) | |
- Automatically reload page when Less or Swig files change | |
- Builds a release into a zip file | |
Requires the following structure: | |
. |
import random | |
chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' | |
key = ''.join([random.SystemRandom().choice(chars) for i in range(50)]) | |
print key |