Skip to content

Commit

Permalink
Deploy to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
umair-nasir14 committed May 22, 2024
1 parent 45d4792 commit 2d70c02
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Word2World Game</title>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
#output { white-space: pre; }
</style>
</head>
<body>
<h1>Word2World Game</h1>
<div id="output"></div>
<script>
fetch('examples/example_1.json')
.then(response => response.json())
.then(data => {
document.getElementById('output').textContent = JSON.stringify(data, null, 2);
})
.catch(error => console.error('Error loading game data:', error));
</script>
</body>
</html>

0 comments on commit 2d70c02

Please sign in to comment.