project:matchquote

This is an old revision of the document!


An Internet-connected foosball table like the one built during an IoT Workshop at Hyperlab Basel, detects goals and provides a timestamped timeline of an ongoing game.

media.tumblr.com_00845ca8c2406ccbe9f01dafec143e7b_tumblr_inline_n1ptjz7sit1szrgrz.jpg

farm4.staticflickr.com_3776_12830432004_df3aeb8bc5_z.jpg

farm3.staticflickr.com_2873_12830434604_4d2a19f789_z.jpg

So we thought it might be nice to get quotes of classic games that resemble the current foosball situation, whenever a goal is scored.

farm6.staticflickr.com_5579_14258525474_be82667a8c_z.jpg

Foosball is usually played to 7 or 10 goals. In order to match the ongoing foosball game to a soccer game we have to slightly change the rules. Our foosball game is played for 9 minutes (a tenth of 90 minutes). We further assume that there's a local team that everybody loves, e.g. FCB in Basel. As it happens, there is a nice JSON dataset of past FCB games denoting which team shot a goal in which minute.

We took this data set and calculated the current score of each game for each goal. Then we stored it together with the minute a goal was shot, the home team and opponent name, and the date of the game.

Whenever a foosball goal happens, we use the current score to lookup soccer games that had the same score, then check if a goal happened at roughly the same time (scaled by 1/10). Note that we only match a single goal, i.e. the quote relates to the current situation but not the overall timeline. This has the side effect that different games are quoted.

farm4.staticflickr.com_3795_14255484391_2d7014befd_z.jpg

TODO: integrate quotes into score board Web page.

  • project/matchquote.1400971957.txt.gz
  • Last modified: 2014/05/25 00:52
  • by tamberg