t2t2 / draft Goto Github PK
View Code? Open in Web Editor NEWMOVIES MOVIES MOVIES!
Home Page: http://boxofficedraft.com/
License: MIT License
MOVIES MOVIES MOVIES!
Home Page: http://boxofficedraft.com/
License: MIT License
Primary source kinda did a revamp that lost current access methods
For alpha1 just create copycats of NSFW summer movie draft
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
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.
Leagues should be marked as archived after the league end date.
Maybe I'm missing something but shouldn't the movies table also have a column for current box office earnings?
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.
Once a movie isn't in any of the active leagues, it shouldn't be considered for updating anymore.
I suggest links to IMDB / Boxofficemojo on the movie titles.
Hopefully @blendermf is working on this :]
Should have an invitation box to send out links that would auto join a new/existing user into a league
Persona login popup not showing when button is pressed.
Chrome Version 26.0.1410.43
Draftr isn't a good name:
So it would be good idea to re-brand the product (site) by the next season.
For a good name:
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)
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.
Makes possible for each league to have different sets of movies.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.