ys: vue.keys, all:true, limit: 100})
        }

        vue.duration = formatscore(getms()-startms)
      },
    },

  }).mount('#vue')

  function formatscore(score) { return Math.floor(Math.abs(score)*1000)/1000 }
  function getms() { return performance.now() }
  function mapnumber(e,n,r,a,t,u){var b,m,o,p;b=r-n,m=t-a,o=(e-n)/b,u?.ex&&(p=o<0,o=Math.pow(Math.abs(o),u.ex),p&&(o=-o));let x=m*o+a;return x}

  document.body.onload = () => {
    const $input = document.getElementById('input')
    document.onkey