123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href="./css/index.css" />
- <link rel="stylesheet" type="text/css" media="screen" href="./css/game.css" />
- <link rel="stylesheet" type="text/css" media="screen and (max-width: 1023px)" href="./css/game-mobile.css" />
- <link rel="stylesheet" type="text/css" href="./index.css" />
- <link rel="icon" type="image/icon" href="./favicon.ico">
- <title>Spookonomics: The Witch's Brew</title>
- <meta property="og:title" content="Spookonomics: The Witch's Brew - Halloween 2024" />
- <meta property="og:description" content="A browser-based game of mysterious potions and spooky capitalism. A humble witch gathers ingredients and brews speciality potions for her supernatural clientele." />
- <meta property="og:image" content="https://eyeofmidas.com/spookonomics/og_image.png" />
- <meta property="og:url" content="https://eyeofmidas.com/spookonomics" />
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Alice&family=Quicksand&display=swap" rel="stylesheet">
- </head>
- <body>
- <div id="loading"><div id="loading-inner"><img src="./loading_ghost.gif" />loading...</div></div>
- <canvas class="webgl"></canvas>
- <script type="module" src="./index.js"></script>
- <div id="main-menu-container">
- <div id="main-menu-display">
- <div id="main-menu-header-container">
- <h1 id="main-menu-title">Spookonomics</h1>
- <h2 id="main-menu-subtitle">The Witch's Brew</h2>
- </div>
- <div id="main-menu-button-list">
- <div class="button-inner-container primary">
- <button id="play-button" class="primary">Play</button>
- </div>
- <div class="button-inner-container">
- <button id="options-button">Options</button>
- </div>
- <div class="button-inner-container">
- <button id="credits-button">Credits</button>
- </div>
- <div class="button-inner-container">
- <button id="reset-save-button">Delete Save</button>
- </div>
- </div>
- </div>
- </div>
- <div id="room-navigation">
- <div id="prev"><svg height="40" width="200"><text
- xml:space="preserve"
- style="font-size:32px;text-align:start;text-anchor:start;"
- x="44.315765"
- y="27.265625"
- id="text1"><tspan
- sodipodi:role="line"
- id="prev-text"
- style="font-size:32px;text-align:start;text-anchor:start;"
- x="44.315765"
- y="27.265625">Shop</tspan></text>
- <path
- d="M 0,16 41.72141,31.318914 19.128231,16 41.72141,0.681086 Z"
- id="path1"
- sodipodi:nodetypes="ccccc" />
- </svg>
- </div>
- <div id="next"><svg height="40" width="200"><text
- xml:space="preserve"
- style="font-size:32px;text-align:end;text-anchor:end;"
- x="158.06747"
- y="26.584539"
- id="text2"><tspan
- sodipodi:role="line"
- id="next-text"
- style="font-size:32px;text-align:end;text-anchor:end;"
- x="158.06747"
- y="26.584539">Market</tspan></text>
- <path
- d="M 200,16 158.27859,30.637828 180.87177,16 158.27859,0 Z"
- id="path3"
- sodipodi:nodetypes="ccccc" />
- </svg>
- </div>
- </div>
- <div id="game-status-container">
- <div id="game-status-panel">
- <div id="currency-meter-container">
- <div id="currency-meter-icon"><img src="./images/coin.svg" /></div>
- <span>0</span>
- <progress id="currency-progress" max="1000" value="500" title="500"></progress>
- <span>1000</span>
- </div>
- <div id="current-day-container">
- <div id="current-day-icon"><img src="./images/day_icon.svg" /></div>
- <div id="current-day-text">day 1</div>
- </div>
- </div>
- </div>
- <div id="brew-container">
- <div id="brew-right-side">
- <div id="brew-header-container">
- <h1>Brew</h1>
- </div>
- <div id="brew-ingredients-container">
- <div class="ingredient-container" data-ingredient="pumpkin">
- <img src="./images/ingredient_pumpkin.png" />
- </div>
- <div class="ingredient-container" data-ingredient="tomato">
- <img src="./images/ingredient_tomato.png" />
- </div>
- <div class="ingredient-container" data-ingredient="lettuce">
- <img src="./images/ingredient_lettuce.png" />
- </div>
- <div class="ingredient-container" data-ingredient="mushroom">
- <img src="./images/ingredient_mushroom.png" />
- </div>
- </div>
- <div id="brew-selected-container">
- <div class="ingredient-selected-container disabled">
- <div class="disabled-selected-ingredient">None Selected</div>
- <div class="active-selected-ingredient">
- <div class="selected-ingredient-image">
- <img src="./images/ingredient_unknown.png">
- </div>
- <div class="selected-ingredient-description">
- <h2>Unknown</h2>
- <p>None Selected</p>
- </div>
- </div>
- </div>
- <div class="ingredient-selected-container disabled">
- <div class="disabled-selected-ingredient">None Selected</div>
- <div class="active-selected-ingredient">
- <div class="selected-ingredient-image">
- <img src="./images/ingredient_unknown.png">
- </div>
- <div class="selected-ingredient-description">
- <h2>Unknown</h2>
- <p>None Selected</p>
- </div>
- </div>
- </div>
- </div>
- <div id="brew-potion-summary-container">
- <div id="potion-icon-container">
- <div id="potion-icon"></div>
- <div class="potion-inventory-count">1</div>
- </div>
- <div id="potion-description">
- <h2 id="potion-name">Unknown</h2>
- <ul id="potion-properties-list"></ul>
- </div>
- </div>
- <div id="brew-button-container">
- <div id="brew-button-inner-container">
- <button id="start-brew">Brew</button>
- </div>
- </div>
- </div>
- </div>
- <div id="shop-container">
- <div id="shop-panel">
- <div id="shop-header-container">
- <h1>Shop</h1>
- </div>
- <div id="shop-sides">
- <div id="shop-left-side">
- <div id="shop-potions-container">
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- <div class="potion-container"><img src="./images/potion_unknown.png" />
- <div class="potion-inventory-count">1</div>
- </div>
- </div>
- </div>
- <div id="shop-right-side">
- <div id="shop-shelves-container">
- <div class="shop-shelf">
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- </div>
- <div class="shop-shelf">
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- </div>
- <div class="shop-shelf">
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- <div class="stocked-potion-container"><img src="./images/potion_unknown.png" /></div>
- </div>
- </div>
- </div>
- </div>
- <div id="shop-button-container">
- <div id="shop-button-inner-container">
- <button id="start-selling">Open Shop</button>
- </div>
- </div>
- </div>
- </div>
- <div id="game-over-container">
- <div id="game-over-blackout">
- <div id="game-over-panel">
- <h1>You Win!</h1>
- <p>You made 1000 gold in:</p>
- <h2>8 days</h2>
- <div id="play-again-button-container">
- <div id="play-again-button-inner-container">
- <button id="play-again">Play Again?</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Google tag (gtag.js) -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=G-H4BYTFBKJT"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag() { dataLayer.push(arguments); }
- gtag('js', new Date());
- gtag('config', 'G-H4BYTFBKJT');
- </script>
- </body>
- </html>
|