Giter Site home page Giter Site logo

drama-rb's People

Contributors

dependabot[bot] avatar deppbot avatar elifoster avatar retep998 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

drama-rb's Issues

Permission to adapt & reuse the drama content in a Java mod?

Since this project doesn't appear to have a published licence, I thought it would be polite to ask: is it OK if I incorporate the data (in lib/drama/constants.rb) into an opensource Forge mod (PneumaticCraft: Repressurized to be exact) ?

The idea is to display a random drama string on the mod's Aphorism Tiles (like signs but better) when they're placed down. I have been retrieving content via http://mc-drama.herokuapp.com/raw, but occasional 500 errors and the general overhead of making HTTP requests make me think a completely local solution would be better.

Acknowledgement to this project would of course be given.

Use format

Why I chose to use regex? Because that's how asie's PHP application did it.
Why I would choose to use regex if I was the first one to create this application? I wouldn't. I would use String#format.

This will improve performance, readability, and maintainability.

Add Drama Generation Count

Each time I deploy, dramas.txt is reset back to 0. A good alternative would be to set environment variables or something.

A "We have generated X dramatic events" thing should be put into place. I have no idea how we could do this and have it be consistent for each deploy.

No title

There is no title for the page; it appears as "mc-drama.herokuapp.com". It should be changed to "The Drama Generator: Ruby Edition" or something.

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.