Git Product home page Git Product logo

cardutil's Introduction

#What is cardutil

cardutil is a collection of scripts intended to create game "cards" for the game When and Where, found on google play here: https://play.google.com/store/apps/details?id=com.thinkfreely.whenandwhere

This suite of scripts converts a series of included json files into cards and stories used to play the game

And the best part is, you can create your own cards and use them in the game!

By creating a card database, you can place it in a reachable web location on the internet and use the game config settings to import the database to the game

#Script utilities

createdb.sh

This script creates an empty sqlite database used for popuation by the other scripts

makecard.sh <cards/cardname.json>

This script will prompt you for information to generate a game card of interest to you, storing the information in the specified json file

makestorycard.sh <cards/cardname.json>

Works identially to makecard.sh, but marks the card as being only for use in the story section of the game - useful for creation of cards that have neither an associated time or place

addcard.sh

Adds the information in a card json file to the specified database under the provided category, and marks it as a story (y) or general use (n) card

addcardlist.sh <categories/category.txt>

Adds a list of cards of the specified category type to the specified database

addstory.sh <stories/story.json>

Adds a story to the story list for the game

buildfulldb.sh

Complete db builder script. Runs the above scripts, creating the specified db name, and adding cards of all categories in the categories subdirectory, and all stories in the stories subdirectory

cardutil's People

Contributors

nhorman avatar

Watchers

 avatar  avatar  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.