GithubHelp home page GithubHelp logo

dice-bag's Introduction

Dice Bag

Placehlder. First WatchKit app that actually does anything -- die roller for tabletop games and such.

It starts up set to "1d4". You can pick a different die type with either the "picker" or the crown.

Push the "Roll" button and it adds the results to a growing scrollable list below the line. Push the "Clear" button and it empties out that list.

The next step is to support changing the number of dice, so you can for example roll "3d6".

The step after that is to add "best of" support, so you can roll "the best 3 out of 4d6". (That's already in the "engine", I just have to make a UI for it.)

Oh, and I really should add a UI to the iOS app.

Possible future feature: a tvOS app that talks to it via GameKit "GKMatchmaker" thing (or maybe some other P2P protocol?), displaying the results labeled by GameCenter user (or something?), so you can "roll in front of" a group of people.

dice-bag's People

Contributors

dfjdejulio avatar

Watchers

 avatar  avatar

dice-bag's Issues

The iOS app should probably do something.

The same basic UI should work okay on a standard iOS device. No real reason for it to be completely useless for people without a phone.

I need to think over whether the "roll history" should be independent or should sync between them.

Damned thing doesn't work.

I've messed up handling some required state transition. The app works fine on the first run, but when it reloads after not running for a while, it clearly becomes internally inconsistent. I think I have to totally revamp how one selects what dice to roll.

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.