Giter Site home page Giter Site logo

dansan / spring-replay-site Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 1.0 5.53 MB

Website to upload, comment and download replays from/for the SpringRTS engine

Home Page: http://replays.springrts.com/

License: GNU General Public License v3.0

Python 50.13% CSS 5.17% JavaScript 25.43% HTML 15.59% Makefile 0.23% Less 3.44%

spring-replay-site's People

Contributors

abma avatar dansan avatar renefritze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

abma

spring-replay-site's Issues

categorize search results

when using the search: list maps, players, tags and comments found, not just replays containing them

clan ladder

  • create clan model
  • auto-detect clan tag(s) in players name
  • make game-agnostic ladders for 1v1, team, ffa, teamffa

autohost category

makes lists and search able to sort/filter by autohost name (uploader != autohost)

save map/modinfo into string

Tables srs_modoption and srs_mapmodoption have both 10^6 lines entries, but those are never queried except for displaying. Dumping as json or pickle into string saves a lot of DB size at almost no cost.

compress replays

to save disk-space...

easiest would be to compress it gzip and decompress it on the fly when needed.

more search features

  • allow to search for matches with two specific players
  • feel free to add wishes

allow sorting of lists (players, games, maps, etc)

Doesn't work atm, bc the models don't match the shown data, so it cannot be sorted by the DB.
Data must be filled in as dict, which is probably bad for performance, and definitively bad for maintenance, but will allow sorting….. should just be tried out to see impact.

make site more "social"

Not with facebook, g+ or stuff, but:

  • make comments more prominent
  • make user-uploaded replays more prominent
  • allow rating of replays
  • create game specific sites (ba.replays.springrts.com, nota.replays.., evo.replays... etc) with individual CSS ... or an API to let game-devs use data to integrate into their own sites --> ask game-devs :)
  • display bets (#34)
  • extra-content, nota-tv etc (#21 #22)

remodel replay page

  • better readability for player names, show player color in [extra] box?
  • display BA awards
  • display bets (from bet widget)
  • mark members of the hall of fame

let 1v1 Elo level decay over time

discussed this with flopflop:

a user that didn't play >3 matches last month will have:

  • (new elo -1500) = .8(oldelo -1500)
  • lower limit @ (elo-1500)/2+1500
  • reset every 6 months or so, like a 2nd level of decay (not sure on this part...)

fix Game detection code

EvoRTS with or without a "-" cause problems, BARC just clashed with BA... it's a total mess!

I guess that information has become more important as I had anticipated in the beginning - should be converted from a function to an attribute.

cache statistics for faster site response

I wonder if common/all_page_infos() is making the site slow? The infos it has must be collected for every single page request... insanely inefficient...

It'd be enough to update those statistics after every upload - not every page request :D

group games

BA, TA, RD, NOTA, etc without versions

  • for searches
  • for statistics

use the same image file for maps

currently each replay seems to create its own .jpgs but they should be shared to save bandwith / disk storage.

easiest would be to reuse the jpgs returned by api.springfiles.com...

show TS rating sum/avg of teams on replay-page

It would be really nice to have the Team Trueskill-Averages right of the Team-Labels before the Match and in () the Afters

like:

Team 1 19.01 (20.44)
Member 1 (Trueskill)
Member 2 (Trueskill)
Member 3 (Trueskill)
Member 4 (Trueskill)
Team 2 ...
....

and sorted the Playernames by Trueskill

the side calculates them anywhay for printout the page so it should be a 10 minute Hack

btw nice page :-) really like it

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.