title: javascript bowling game approach idea
body: <p>I need to create a simple bowling game that outputs pins hit in every frame and scores in every frame, and total points.</p>
  
  <p>my first approach idea is, having a "start new game" button that generates all of the randomized numbers for every frame before so that when user clicks "bowl", it outputs frame by frame from the generated array. </p>
  
  <p>my second approach is generating randomized numbers every time click on "bowl" frame by frame. Although, I am quite lost how I can add bonus points when there is spare or strike. </p>
  
  <p>Are these even the approach I should be taking or is there a better approach to create the bowling game in javascript?</p>