SHARE
TWEET

Polytopia Web HTML

j35182 May 27th, 2020 (edited) 1,073 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1">
  7.  
  8.     <title>Hello!</title>
  9.    
  10.     <!-- import the webpage's stylesheet -->
  11.     <link rel="stylesheet" href="/style.css">
  12.    
  13.     <!-- import the webpage's javascript file -->
  14.     <script src="/script.js" defer></script>
  15.   </head>  
  16.   <body>
  17.     <div id="startGame" style="">
  18.       <p>Gamemode:
  19.         <select name="gamemode" id="gamemode" onchange="defaultRules()">
  20.           <option value="domination">Domination</option>
  21.           <option value="glory">Glory</option>
  22.           <option value="perfection">Perfection</option>
  23.         </select>
  24.       </p>
  25.       <p>Number of Players: <input type="number" id="players" name="players" value="2" min="2" max="8"></p>
  26.       <p id="compNumContainer" style="display:none;">Number of Computers: <input type="number" id="computers" name="computers" value="0" min="0" max="8"></p>
  27.       <p id="stwContainer" style="display:none;">Score to Win: <input type="number" id="scoretowin" name="scoretowin" value="10000" min="1"></p>
  28.       <p>Time Limit: <input type="number" id="timelimit" name="timelimit" value="9999" min="1" max="9999"></p>
  29.       <p>Max Resources: <input type="number" id="maxresources" name="maxresources" value="9999" min="1" max="9999"></p>
  30.       <p>Permanent Vision: <input type="checkbox" id="permavision" name="permavision" checked=true></p>
  31.       <p>Map Width X Height: <input type="number" id="width" name="width" value="11" min="5" max="25"> X <input type="number" id="height" name="height" value="11" min="5" max="25"></p>
  32.       <p>General HP Multiplier: <input type="number" id="hpMod" name="hpMod" value="1" min="0.1" max="9999" step="0.1"></p>
  33.       <p>General ATK Multiplier: <input type="number" id="atkMod" name="atkMod" value="1" min="0.1" max="9999" step="0.1"></p>
  34.       <p>General DEF Multiplier: <input type="number" id="defMod" name="defMod" value="1" min="0.1" max="9999" step="0.1"></p>
  35.       <button onclick="startGame()">Start</button>
  36.     </div>
  37.     <div id="tribeSelect" style="display:none;">
  38.       <!--Code will appear here-->
  39.     </div>
  40.     <div id="game" style="display:none;">
  41.       <div id="board">
  42.       </div>
  43.     </div>
  44.   </body>
  45. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top