+ const formstyle = window.getComputedStyle(this.form)
+ const gridsize = [
+ formstyle['grid-template-rows'], formstyle['grid-template-columns']
+ ].map(val => val.match(/ /g).length + 1).reduce((x, y) => x * y) / 2;
+ cards = this.words.splice(0, gridsize || 6).map(row => row[2]);