<!doctype html>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title> </title>
<script>
function craft()
{
document.body.innerHTML="<pre><p>What do you want to craft?<\/p><button onClick='newWorld()'>Back<\/button><\/pre>"
}
function explore()
{
document.body.innerHTML="<pre><h1>Where do you want to explore?<\/h1><button onClick='newWorld()'>Back<\/button><\/pre>"
}
function myInventory()
{
document.body.innerHTML="<pre>A warm blanket<button onClick='newWorld()'>Back<\/button><\/pre>"
}
function newWorld()
{
document.body.innerHTML="<pre><h1>Hello and welcome to World of My Core!<\/h1>What would you like to do?<br><button onClick='myInventory()'>Inventory<\/button><br><button onClick='craft()'>Craft<\/button><\/pre>"
}
</script>
<style>
pre{font-family: arial; font-size: 12px}
</style>
</head>
<body>
<h1>Welcome to My Core</h1>
<p>Start by choosing your name</p>
<form >
Username: <input name="Username"><br>
</form>
<p>Then choose your gender</p>
<form>
<input type="radio" name="gender" value="Male">Male<br>
<input type="radio" name="gender" value="Female">Female
</form>
<p>Press the Play button to play!<p>
<button onClick="newWorld()">Play</button>
</body>
</html>
Bookmarks