Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 455 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 455 Bytes

#JavaScript24

A minimal arithmetical game with JavaScript syntax.

demo

If embedded in another page, use the following code to sync iframe's height.

onmessage = function (e) {
  if (e.origin.split('//')[1] === 'handsomeone.github.io') {
    document.querySelector('iframe').height = e.data.height
  }
}