Created
August 9, 2018 08:25
-
-
Save maxmonax/bb22c4a04eec1f8c119364aeb98ebea1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
<title>Kidjo Memory Game</title> | |
<style> | |
html { | |
overflow: hidden; | |
} | |
body { | |
background-color: #fd6f52; | |
font-family: 'Segoe UI', sans-serif; | |
border: none; | |
padding: 0; | |
margin: 0; | |
} | |
#content { | |
margin: 0; | |
padding: 0; | |
} | |
</style> | |
<script src="js/phaser.min.js"></script> | |
<script src="game.js"></script> | |
<script> | |
function pressedClose(po_cnt) { | |
console.log('close pressed! pairs opened count = ' + po_cnt); | |
} | |
// aData: string (json) | |
function savePauseData(aData) { | |
// TODO: save to device | |
} | |
// aData: string (json) | |
function loadPauseData(aData) { | |
localLoadPauseData(aData); // it will be my local function | |
} | |
</script> | |
</head> | |
<body> | |
<div id="content"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment