Yet another FreeCell-based solitaire card game by Andrew Zyabin.
not yet received
| const Chance = require('chance'); | |
| const argv = require('yargs').argv; | |
| const chalk = require('chalk'); | |
| let seed; | |
| if(typeof argv.seed === 'undefined') { | |
| seed = Math.floor(Math.random() * Math.pow(2, 32)); | |
| } else { | |
| seed = argv.seed; | |
| } |
| h1, h2, h3, h4, h5, h6, p { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| } | |
| pre, code { | |
| font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | |
| } |
| |Cursor keys: |Commands: |Movements: |u/ undo |File commands:| | |
| | k ________|x/ delete next|0/ 1st in line|^R/ redo |:new/ new | | |
| |h-+-l |Editor |X/ delete prev|^/ 1st non- | | editor | | |
| | j __| modes:| | white in line| |:o/ open file | | |
| |____|i/ insert| |$/ end of line| |:w/ write file| | |
| |A/ append at | |w/ next word | |:clo/ close | | |
| | end of line | |b/ 1st in word| |:q/ quit | | |
| |R/ replace | |e/ end of word| |:wq/ write and| | |
| | (or Ins/Ovr | |W/ next WORD! | | quit | | |
| | in insert | |B/ 1st in | |:clo!/ close | |
| MIT License | |
| Copyright (c) 2017-2017 Andrew Zyabin | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
🎉 forum(🎉) forum[🎉] forum{🎉} forum( 🎉 ) forum[ 🎉 } forum{ 🎉 }
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "darken(#428bca, 6.5%)", | |
| "@brand-success": "#5cb85c", |
A game design by @schas002 and contributors.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Licensing: CC-BY 4.0
Last update: 2017-04-05
| ››› fwAlphabet = "0123456789abcdefghijklmnopqrstuvwxyz" | |
| 0123456789abcdefghijklmnopqrstuvwxyz | |
| // fwAlphabet contains 36 characters in fullwidth | |
| // (yes, Frink allows you to type any Unicode character in a program) | |
| ››› parseInt["helloworld", 36] | |
| 1767707668033969 | |
| // the `36` argument to parseInt is important, see last command | |
| ››› base[1767707668033969, fwAlphabet] |