gugi9000 / foosball Goto Github PK
View Code? Open in Web Editor NEWA ratings tracker for the office foosball league
License: MIT License
A ratings tracker for the office foosball league
License: MIT License
Still using SQLite for the time being.
So the stats start over with every month.
For use in /player/
so the head can be "All Foo's games" rather than "Games with Foo"
Or actually "Alle Foos kampe" :-)
Or fail gracefully telling why.
Both to avoid double posting and to give a little credit to the latest winners.
It could be last X games or maybe today's games.
Maybe also have both a ratings page and a front page.
On the score board show each players win or loss streak and and icon denoting which it is.
fx. 5⬆️ or 3⏬
Show something special on games where only didn't score any goals.
who wins the most with which ball
The code is a bit messy as it stands.
And it can be difficult to know what does what.
The code should probably be commented, restructured and documented.
At least not in the games list.
See #40 for reference
On /ratings the ball stats are not limited to current calendar month
If no ratings.db
is present, create one.
The link is misssing from the pull down menu
In http://foosball.dynateam.dk/player/ it should highlight the games the chosen player has won
Use the /balls URL
Log web requests and if possible errors (panics) to a file.
Hard to tell why.
But it's reproducable with attached database. There is something about the last game here.
155|2|5|3|10|2017-01-26 14:55:03|5
156|9|3|10|0|2017-01-26 17:59:56|1
I've tried deleting games where id=156 - then it doesn't crash..
Or rather read the name. It's already in there.
If you havn't played yet you don't belong on the leaderboard.
When you compare two players games from previous months are included.
For both players and balls
I would be nice to have time and date for each game played.
A must for pretty statistics 😄
On the score board you should see the scores (as in the /ratingsdev (which shows score's development)).
An abbr tag could be used to reveal the details.
The one source file is getting rather bloated and messy.
It should be extended out to some separate modules, a bit like this:
// This then refers to a file called some_mod.rs.
// Make sure to make everything needed from the module public with `pub`.
mod some_mod;
When on the /analysis/homeaway page there is no highlight on the right menu.
Show the development of each player's ratings in a graph
that's just pretty
You get a message that the player does not exist.
It should read that the player does not exist or has no games on record.
several types of balls can be used.
It should be possible to track with one is used
When you choose two player that have never played against each other the page looks broekn.
It might be because the d3 is served from http:
foosball/templates/pages/ratingsdev.html
Line 32 in 3aaf716
show games for current month only
I think it's okay to wait for #38 before fixing
| Boldens navn | Number of games
| Blank gummi | 11
| Hvid | 323
| Kork | 1
| Mat gummi | 23
| Orange | 2
A player with a few days of bad luck might get discouraged when falling behind.
If the stats only go back so far we can keep their spirit high knowing that it will be forgotten in due time.
Admin role with ability to
And discourage indexing:
User-agent: *
Disallow: /
Use the /ratings URL
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.