mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 05:15:49 -06:00
21 lines
547 B
HTML
21 lines
547 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
</head>
|
|
<body>
|
|
<canvas id="canvas"></canvas>
|
|
<script>
|
|
var Module = {
|
|
'locateFile': function (path, prefix) {
|
|
if (path.endsWith(".data")) {
|
|
return prefix + "deps/" + path;
|
|
}
|
|
return prefix + path;
|
|
},
|
|
'canvas': document.getElementById('canvas'),
|
|
};
|
|
</script>
|
|
<script src="pacman.js"></script>
|
|
</body>
|
|
</html> |