Code Monkey home page Code Monkey logo

starting-condition's Introduction

Starting condition 🏁

https://encapsulate.me/start

How to start a game?
Random is dull and no fun
...starting-condition!

A random number is a fair starting condition but isn't very fun.

With starting-condition, you and your group discuss who meets the stated starting condition.

Supported languages

  • English
  • Español
  • Français
  • Deutsch

Installation

npm i -g starting-condition

Usage

start
# Who was the last person to make a sandwich?

start -l es
# ¿Quien se despertó más temprano?

Contributing

Contributors

Architecture

  1. Starting conditions are stored in a single JSON file of their corresponding language (eg: English is en.json)
  2. Each file is an array of strings representing a starting condition to display at random.

Guidelines

  1. Starting conditions should be general enough that anyone could reasonably meet the condition.
  2. Starting conditions should be appropriate for a wide audience (children).
  3. No profane language.
  4. Wording should be careful.
  5. People should feel good or neutral after hearing the starting condition.

Language support

starting-condition currently supports English, Spanish and French languages.

How to contribute

To an existing language
  1. Add new conditions to the end of the language file you wish to contribute to. (It would also help, but is not required, if you could add translations of your conditions in any other of the supported languages that you know.)
  2. Submit a pull request against this repo's master branch higgins/starting-branch#master
To a new language
  1. Create a new language file named XY.json where 'XY' is the corresponding two-letter-code for your language
  2. Translate all the conditions listed here to your new language file.
  3. Add new conditions to the end of that file.
  4. Submit a pull request against this repo's master branch higgins/starting-branch#master

NOTE: this used to be hosted at startingcondition.com but now it's a CHAD

starting-condition's People

Contributors

dependabot[bot] avatar ebildungslabor avatar higgins avatar max-b avatar richardharrington avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

starting-condition's Issues

the "latest" list could be dynamically generated

TIL the "latest" list is hard-coded.

Maybe we could put in some kind of timestamp on each item, and dynamically decide which ones are "latest"?

To roll it out, the ones that are currently in the "latest" column could arbitrarily be given timestamps after the cutoff point, and all the other ones could be given the Unix epoch.

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.