pakerchang / brick-breaker-mdn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Control

  // ./src/event
  actions    // for keyboard event
  collide    // detection ball collide actions
  draws      // generate and update web canvas
  killBricks // eliminate canvas bricks

BricksBreaker.vue

  // declare a canvas tag, and set id for 'myCanvas', height, width.
  // import event modules { initGame }
  <canvas id="myCanvas" width="480" height="320">

Dev

  yarn install
  yarn dev

About


Languages

Language:JavaScript 91.9%Language:Vue 5.7%Language:HTML 2.0%Language:CSS 0.4%