Coder Social home page Coder Social logo

mmower / snowman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from videlais/snowman

0.0 1.0 0.0 4.51 MB

A minimal Twine 2 story format designed for people who already know JavaScript and CSS

License: MIT License

JavaScript 86.88% CSS 12.53% EJS 0.59%

snowman's Introduction

Node.js CI codecov

Snowman 2.0.3

Snowman is a minimal Twine 2 story format designed for people who already know JavaScript and CSS originally created by Chris Klimas. It is currently maintained by Dan Cox.

What does Snowman offer?

Snowman does not use macros like Harlowe, SugarCube, and other story formats. Instead, it has two global objects, window.story and window.passage, that expose functionality for working with the overall story and the current passage, respectively.

It also includes the JavaScript libraries jQuery and Underscore.

Additional styling options are supplied through the inclusion of the Marked library.

Want to learn more?

The official Snowman documentation has more details about Snowman including multiple examples of how to do various tasks.

Building

Run npm install to install dependencies.

npm run build will create a Twine 2-ready story format under dist/.

To check for style errors, run npm run lint. To run unit tests, run npm run test.

snowman's People

Contributors

dependabot-preview[bot] avatar videlais avatar klembot avatar lmorchard avatar toddmazierski avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.