This commit is contained in:
root 2023-11-07 01:46:28 +02:00
parent 72777a6e45
commit 63f7c41efa
39 changed files with 1141 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
tmp/*
zip/*

60
4hugo.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/4hugo.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
bchess.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/bchess.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
diggers.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/diggers.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
doobie-1.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/doobie-1.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
doobie-2.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/doobie-2.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

BIN
games/4hugo.zip Normal file

Binary file not shown.

BIN
games/bchess.zip Normal file

Binary file not shown.

BIN
games/diggers.zip Normal file

Binary file not shown.

BIN
games/doobie-1.zip Normal file

Binary file not shown.

BIN
games/doobie-2.zip Normal file

Binary file not shown.

BIN
games/hkmahpro.zip Normal file

Binary file not shown.

BIN
games/hugof.zip Normal file

Binary file not shown.

BIN
games/lingo.zip Normal file

Binary file not shown.

BIN
games/mickey123.zip Normal file

Binary file not shown.

BIN
games/mickjig.zip Normal file

Binary file not shown.

BIN
games/shabat.zip Normal file

Binary file not shown.

BIN
games/snibbly.zip Normal file

Binary file not shown.

BIN
games/stratego.zip Normal file

Binary file not shown.

BIN
games/tamahugo.zip Normal file

Binary file not shown.

BIN
games/tim.zip Normal file

Binary file not shown.

BIN
games/vardit1.zip Normal file

Binary file not shown.

BIN
games/vardit2.zip Normal file

Binary file not shown.

BIN
games/volfied.zip Normal file

Binary file not shown.

BIN
games/xonix.zip Normal file

Binary file not shown.

60
hkmahpro.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/hkmahpro.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
hugof.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/hugof.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
lingo.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/lingo.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
mickey123.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/mickey123.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
mickjig.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/mickjig.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
shabat.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/shabat.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
snibbly.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/snibbly.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
stratego.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/stratego.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
tamahugo.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/tamahugo.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
tim.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/tim.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
vardit1.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/vardit1.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
vardit2.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/vardit2.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
volfied.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/volfied.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>

60
xonix.html Normal file
View File

@ -0,0 +1,60 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,
body,
#jsdos {
background: black;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: none;
-ms-content-zooming: none;
touch-action: none;
}
</style>
<script src="src/js-dos.js"></script>
<link href="src/js-dos.css" rel="stylesheet">
</head>
<body>
<div id="jsdos"></div>
<script>
let bundleUrl = "games/xonix.zip";
let clientId = null;
emulators.pathPrefix = "src/";
Dos(document.getElementById("jsdos"), {
hardware: window.hardware,
withNetworkingApi: false,
withExperimentalApi: true,
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(clientId);
}
clientId = {
namespace: "test",
id: "ngtech1ltd@gmail.com",
};
return Promise.resolve(clientId);
}
}).run(bundleUrl);
</script>
</body>
</html>