GithubHelp home page GithubHelp logo

t2t2 / draft Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 8.0 1.91 MB

MOVIES MOVIES MOVIES!

Home Page: http://boxofficedraft.com/

License: MIT License

PHP 80.72% CSS 3.78% JavaScript 2.82% ApacheConf 0.17% HTML 12.51%

draft's People

Contributors

minime283 avatar t2t2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

draft's Issues

User login

  • Integrate Persona
  • Registration form
  • Login
  • Logout
  • Update top bar
  • Claiming via twitter account [Postponed till really needed]

League creation

For alpha1 just create copycats of NSFW summer movie draft

Plausible Bug: Removing a movie doesn't remove movie-player connection

There might be a bug where if a player deletes a movie from the league it doesn't get removed from league_movie_user table

Test data:

SELECT * FROM `league_movie_user` WHERE `league_id` = '185'

id  league_id   movie_id    user_id
1374    185 106 137
1375    185 108 135
1376    185 107 505
1377    185 109 137
1378    185 110 135
1379    185 111 135
1380    185 113 136

SELECT * FROM `league_movie` WHERE `league_id` = '185'

id  league_id   movie_id    price   latest_earnings_id
5552    185 112 0   NULL
5553    185 113 17  NULL
5554    185 114 0   NULL
5555    185 115 0   NULL
5556    185 116 0   NULL
5557    185 117 0   NULL
5558    185 118 0   NULL
5559    185 119 0   NULL
5560    185 120 0   NULL
5561    185 121 0   NULL
5562    185 122 0   NULL
5563    185 123 0   NULL
5564    185 124 0   NULL
5565    185 125 0   NULL
5566    185 126 0   NULL
5567    185 127 0   NULL
5568    185 128 0   NULL
5569    185 129 0   NULL
5570    185 130 0   NULL
5571    185 131 0   NULL
5572    185 132 0   NULL
5573    185 133 0   NULL
5574    185 134 0   NULL
5575    185 135 0   NULL
6275    185 111 0   NULL

Movie presets

To make easy generating a league that uses same movies as a more famous league (hint hint NSFW/Frame rate), it should be possible to load their list of movies as a template.

Box office earnings

Maybe I'm missing something but shouldn't the movies table also have a column for current box office earnings?

Indicator of current date

A marking in the movie list to show the current position during a draft. For example right now it would be before Oblivion in the right column. And after Oblivion's release, on April 20th, the indicator would be between Oblivion and Pain & Gain.

This way it's easy to spot which movies are released next.

positionIndicator

Invite players to league

Should have an invitation box to send out links that would auto join a new/existing user into a league

New name for the site

Draftr isn't a good name:

  1. Hard to get domain name
  2. Doesn't describe well it's about movies.

So it would be good idea to re-brand the product (site) by the next season.

For a good name:

  1. Domain should be available (com > net > > > > info)
  2. Describe well it's about movie draft.

In case anyone has ideas for new site name, feel free to post them into this issue. (or mail taavot(a)gmail if you don't want to make a github account or something)

League Active - Only based on League End - date

the getActiveAttribute function on the league model currently only looks to the end-date for the league. I believe it should also look to a start date attribute or the earliest release date of a movie within that league.

In other words, I think you need to have a three way destinction between 'Archieved','Current' and 'Future" leagues.

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.