Match Report 17 December 2015

//Nanna Match Report Generator
//Dec 2015

var matchStats= {
'loc':"Brunswick College",
'date':"17th Dec 2015",
'oppName':"a team who's moniker fails to materialsie at this juncture",
'apres':"a place who's name I fail to recollect"

var Tao = {
'nickName':"Best Looking",
'nickName2': "He of the purple head",
'generalPlay': "some fine play and the usual high quality hustling",
'specialMoment': "the-most-perfectly-weighted-from-a-crazy-accute-angle shot",
'anecdote': "illicited some extreme (yet very humourous) language form the opposition due to completely-justified-use-of-pushing",

var Giller = {
'nickName': "Gilby the whack arse Bilby",
'nickName2': "the Funky Nanna™",
'generalPlay': "not a whole lot of work to do, but stopped a couple of rippers",
'specialMoment': "scored a pearler (though it must be said the opposition goalie made a total hash of it)",
'anecdote': "took award for first Nanna to see JJ’s new Star Wars",

var Rhian = {
'nickName': "The Captain®",
'nickName2': "The Kurgening",
'generalPlay': "some fine link up play, great hustling",
'specialMoment': "a couple of very deftly executed ‘dummies’…",
'anecdote': "Touch it",

var Tom = {
'nickName': "The Coach™",
'nickName2': "Coach Colonel Judge Colonel Coach Judge Coach Judge",
'generalPlay': "some fine form to turn up half way through the first half and coach the brown brothers",
'specialMoment': "yelling a lot",
'anecdote': "didn’t play due to the fact that his kit was being stored beneath a small sleeping child",

var Takeshi = {
'nickName': "Kondo",
'nickName2': "The Tokyo Terror",
'generalPlay': "great positioning on court and penalty box poaching",
'specialMoment': "poking home from close range in the secong half",
'anecdote': "was fully kitted-up and ready to roll in goals until GtWAB arrived",

var Daniel = {
'nickName': "Le Coq Sportif",
'generalPlay': "some solid if energy-conserving work up front",
'specialMoment': "scored a rare hat-trick following a semi-stupaboot shot from a goalie clearance with said goalie wildly off his line…",
'anecdote': "had a strong tatse of coffee in his mouth for much of the game owing to excessive comsumtion in a bid to stave off sleep",

var Andy = {
'nickName': "WalMartin™",
'nickName2':"The BackDoor Man",
'generalPlay': "kind of outrageous running in the heat to keep the ball in play",
'specialMoment': "stopping the ball with less than 3 µm before the sideline",
'anecdote': "was forced to retreat from the field of battle late in the second half",

var Jim = {
'nickName': "Jim Bob",
'nickName2': "The Communications manager (get it )",
'generalPlay': "strong running and robust challenges",
'specialMoment': "An absolute cannon from wide on the left ",
'anecdote': "continued to update the Nannas on the inner workings of Tinder®",

var team = [Tao,Rhian,Jim,Takeshi,Giller,Daniel,Tom,Andy];

if (matchStats.scoreNan > matchStats.scoreOpp) {
var teamName = "The glorious men in brown™"
var gameDesc = "winning"
var teamName = "Nanna B"
var gameDesc = "losing"

var conj = ["did ","showed ","made ","had ","displayed ","presented ","exhibited ","was "];
var praise = ["kind of OK", "incredible","mindblowing","fucking staggering","breathtaking", "outstanding"];
var add = ["It should also be noted ", "On top of that ","In addition ","That was followed by "];
var damnation = ["pretty crap", "total rubbish","rather muppet-like","appalling","abysmal", "one of the most pathetic events ever witnessed by a Nanna"];

var reportStartString = "a new season at " + matchStats.loc + " and a return to " + gameDesc + " ways for " + teamName + ". " + team.length + " true heroes of Nanna stepped to the court to do battle with " + matchStats.oppName + ". ";
var reportBodyString = ""
var reportEndString = "And that was about it, the" + praise[Math.floor(Math.random()*praise.length)] + " " + team.length + " brown men then went to " + matchStats.apres + " which was OK, all things considered" ;

for (i=0;i< team.length; i++){
var t = team[i];
var randAdd = add[Math.floor(Math.random()*add.length)]
var randConj = conj[Math.floor(Math.random()*conj.length)]
var randPraise = praise[Math.floor(Math.random()*praise.length)]
var randDamn = damnation[Math.floor(Math.random()*damnation.length)]
var comment = [randPraise,randDamn]
var randComment = comment[Math.floor(Math.random()*comment.length)]
if({var momString = "and due to the extreme brilliance of his overall play was also awarded the highest Nanna honour of MOM"}
else{ var momString = ""}
reportBodyString = reportBodyString + t.nickName + " " + randConj + t.generalPlay + " and " + randConj + t.specialMoment + " which was also " + randComment + ". " + randAdd + t.nickName2 + " scored " + t.goals + " goals " + momString + " and " + t.anecdote + ". " ;
alert(reportStartString + reportBodyString + reportEndString)

17 dec 2015 long

Leave a Reply