File size: 11,334 Bytes
f0e283c 9d406e8 62cb7ad 2a4a57f 62cb7ad 9d406e8 62cb7ad e1f8969 62cb7ad 2a4a57f 62cb7ad 46e4580 2a4a57f 465d21a 3138475 465d21a e1f8969 9d406e8 e1f8969 46e4580 465d21a cc7a6c8 62cb7ad cc7a6c8 465d21a 62cb7ad 465d21a cc7a6c8 62cb7ad e1f8969 9d406e8 e1f8969 cc7a6c8 e1f8969 62cb7ad 9d406e8 e1f8969 9d406e8 62cb7ad 9d406e8 46e4580 9d406e8 2a4a57f 62cb7ad 2a4a57f 6defe5a 62cb7ad 2a4a57f 46e4580 2a4a57f 62cb7ad 9d406e8 62cb7ad 46e4580 9d406e8 e1f8969 2a4a57f 62cb7ad 46e4580 e1f8969 46e4580 e1f8969 46e4580 cc7a6c8 46e4580 cc7a6c8 46e4580 cc7a6c8 46e4580 e1f8969 46e4580 e1f8969 2a4a57f 62cb7ad 2a4a57f e1f8969 2a4a57f e1f8969 9d406e8 62cb7ad 9d406e8 f0e283c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Challenge an AI to build your game idea</title>
<meta name="robots" content="noindex">
<!-- Same faces as the project home page. They load late, so the page never waits for them where Google Fonts is slow or blocked. -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Jersey+25&family=Source+Sans+3:wght@400..700&family=Source+Serif+4:opsz,wght@8..60,400..700&display=swap" media="print" onload="this.media='all'">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="nav">
<a class="brand" id="brand" href="#top"><span data-t="brand"></span><small data-t="brand_sub"></small></a>
<nav id="steps" aria-label="Sections">
<a href="#about" data-t="nav1"></a><a href="#sec_game" data-t="nav2"></a><a href="#sec_ref" data-t="nav3"></a>
<a href="#sec_task" data-t="nav4"></a><a href="#sec_submit" data-t="nav5"></a>
</nav>
<nav id="links"></nav>
<div id="lang" role="group" aria-label="Language"><button type="button" data-lang="en" class="on">EN</button><button type="button" data-lang="zh">中文</button></div>
</header>
<section class="hero" id="top">
<div class="wrap hero_grid">
<div>
<p class="eyebrow" data-t="eyebrow"></p>
<h1 id="title"></h1>
<p class="lede" data-t="lead"></p>
<div class="cta"><a class="btn primary" href="#about" data-t="cta_start"></a><a class="btn ghost" href="#example" data-t="cta_example"></a></div>
</div>
<div class="hero_art" aria-hidden="true">
<span class="tag" data-t="hero_ref"></span>
<img class="a" src="data/examples/beekeeping/02.jpg" alt=""><img class="b" src="data/examples/beekeeping/01.jpg" alt=""><img class="c" src="data/examples/beekeeping/03.jpg" alt="">
<span class="arrow">↓</span><img class="g" src="data/games/stardew_valley.jpg" alt=""><span class="out" data-t="hero_out"></span>
</div>
</div>
</section>
<main class="wrap">
<section class="panel examples" id="example">
<h3 class="sec"><span data-t="ex_title"></span><span id="ex_tabs" class="segs" role="tablist"></span></h3>
<div id="ex_body"></div>
<p class="info ex_more" data-t="ex_more"></p>
</section>
<section class="panel credit">
<h3 class="sec"><span data-t="credit_title"></span></h3>
<ul class="tiers">
<li><b data-t="credit_1"></b><span data-t="credit_1_sub"></span></li>
<li><b data-t="credit_2"></b><span data-t="credit_2_sub"></span></li>
</ul>
<p class="info" data-t="credit_note"></p>
<details class="rules"><summary data-t="credit_more"></summary>
<ol><li data-t="credit_r1"></li><li data-t="credit_r2"></li><li data-t="credit_r3"></li><li data-t="credit_r4"></li><li data-t="credit_r5"></li><li data-t="credit_r6"></li></ol>
</details>
</section>
<div class="step" id="about"><span class="num">01</span><div><h2 data-t="s1"></h2><p data-t="s1_sub"></p></div></div>
<section class="panel">
<fieldset><legend data-t="q_genres"></legend><p class="info" data-t="q_genres_info"></p><div class="opts" id="genres"></div></fieldset>
<label class="q" for="genre_other" data-t="q_other"></label>
<input id="genre_other" type="text" maxlength="200" data-ph="q_other_ph">
<div class="two gap">
<fieldset><legend data-t="q_hours"></legend><p class="info" data-t="q_hours_info"></p><div id="hours"></div></fieldset>
<fieldset><legend data-t="q_modding"></legend><div class="opts col" id="modding"></div></fieldset>
</div>
<fieldset id="modbox" class="sub" hidden><legend data-t="mod_title"></legend><p class="info" data-t="mod_info"></p>
<div class="row">
<div class="grow"><label class="q" for="mod_link" data-t="mod_link"></label><input id="mod_link" type="url" data-ph="mod_link_ph"></div>
<div class="grow"><label class="q" for="mod_note" data-t="mod_note"></label><input id="mod_note" type="text" maxlength="300"></div>
</div>
<label class="drop small" id="mod_drop"><input id="mod_file" type="file" multiple accept=".png,.jpg,.jpeg,.webp,.mp4,.webm,.mov"><b data-t="mod_drop"></b><small>png · jpg · webp · mp4 · webm · mov</small></label>
<ul id="mod_filelist" class="filelist"></ul>
</fieldset>
<label class="q" for="profile" data-t="q_profile"></label>
<input id="profile" type="text" maxlength="300" data-ph="q_profile_ph">
<div class="actions"><button type="button" id="continue" class="btn primary" data-t="screen_btn"></button></div>
<div id="verdict" class="verdict" aria-live="polite"></div>
</section>
<section id="form" hidden>
<div class="step" id="s2"><span class="num">02</span><div><h2 data-t="s2"></h2><p data-t="s2_sub"></p></div></div>
<div id="auth"></div>
<div class="exbar" id="exbar">
<b data-t="exbar"></b><span id="exf_tabs" class="segs" role="tablist"></span>
<span class="exbar_sub" data-t="exbar_sub"></span>
<button type="button" id="ex_all" class="linkbtn"></button>
</div>
<div class="cols">
<div class="fields">
<section class="panel" id="sec_game">
<h3 class="sec"><span data-t="nav2"></span></h3>
<fieldset><legend data-t="game"></legend><p class="info" data-t="game_info"></p>
<div id="game" class="tiles"></div></fieldset>
<fieldset id="newgame" class="sub" hidden><legend data-t="new_title"></legend><p class="info" data-t="new_info"></p>
<div class="row">
<div class="grow"><label class="q" for="new_name" data-t="new_name"></label><input id="new_name" type="text" maxlength="60" data-ph="new_name_ph"></div>
<div class="grow"><label class="q" for="new_link" data-t="new_link"></label><input id="new_link" type="url" placeholder="https://..."></div>
</div>
<label class="q" for="new_modding" data-t="new_modding"></label><p class="info" data-t="new_modding_info"></p>
<textarea id="new_modding" rows="2" data-ph="new_modding_ph"></textarea><div id="new_modding_n" class="count"></div>
<fieldset><legend data-t="new_help"></legend><div class="opts col" id="new_help"></div></fieldset>
</fieldset>
<label class="q" for="fit" data-t="fit"></label><p class="info" data-t="fit_info"></p>
<textarea id="fit" rows="2" data-ph="fit_ph"></textarea><div id="fit_n" class="count"></div><div class="exhint" data-ex="fit"></div>
</section>
<section class="panel" id="sec_ref">
<h3 class="sec"><span data-t="sec_ref"></span></h3>
<div class="q" data-t="files"></div>
<label class="drop" id="drop"><input id="file" type="file" multiple accept=".png,.jpg,.jpeg,.webp,.mp4,.webm,.mov,.txt,.md"><b data-t="drop"></b><small data-t="drop_sub"></small></label>
<div id="file_msg" class="count bad" aria-live="polite"></div>
<div id="filelist" class="refgrid"></div><div class="exhint" data-ex="ref"></div>
<div class="row">
<div class="grow"><label class="q" for="link" data-t="link"></label><input id="link" type="url" placeholder="https://..."></div>
<div><label class="q" for="time_range" data-t="time_range"></label><input id="time_range" type="text" placeholder="1:12-1:41"></div>
</div>
<fieldset><legend data-t="license"></legend><p class="info" data-t="license_info"></p><div class="opts col" id="license"></div></fieldset>
<label class="q" for="source" data-t="source"></label><input id="source" type="text" data-ph="source_ph">
</section>
<section class="panel" id="sec_task">
<h3 class="sec"><span data-t="sec_task"></span></h3>
<fieldset><legend data-t="category"></legend><div class="opts col" id="category"></div></fieldset><div class="exhint" data-ex="category"></div>
<label class="q" for="idea" data-t="idea"></label><p class="info" data-t="idea_info"></p>
<textarea id="idea" rows="4" data-ph="idea_ph"></textarea><div id="idea_n" class="count"></div><div class="exhint" data-ex="idea"></div>
</section>
<section class="panel">
<h3 class="sec"><span data-t="pts"></span><span id="pts_n" class="pill"></span></h3>
<p class="info" data-t="pts_info"></p>
<div id="refstrip" class="refstrip" hidden></div>
<fieldset class="dimbox content"><legend data-t="content"></legend><p class="info" data-t="content_info"></p>
<div id="content_rows" class="rows"></div><button type="button" id="content_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button><div class="exhint" data-ex="content"></div></fieldset>
<fieldset class="dimbox function"><legend data-t="function"></legend><p class="info" data-t="function_info"></p>
<div id="function_rows" class="rows"></div><button type="button" id="function_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button><div class="exhint" data-ex="function"></div></fieldset>
<fieldset class="dimbox visual"><legend data-t="visual"></legend><p class="info" data-t="visual_info"></p>
<div id="visual_rows" class="rows"></div><button type="button" id="visual_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button><div class="exhint" data-ex="visual"></div></fieldset>
<label class="q" for="edit" data-t="edit"></label><p class="info" data-t="edit_info"></p>
<input id="edit" type="text" data-ph="edit_ph"><div id="edit_n" class="count"></div><div class="exhint" data-ex="edit"></div>
</section>
<section class="panel" id="sec_submit">
<h3 class="sec"><span data-t="sec_you"></span></h3>
<div class="row first">
<div class="grow"><label class="q" for="nickname" data-t="nickname"></label><input id="nickname" type="text" maxlength="40" data-ph="nickname_ph" autocomplete="nickname"></div>
<div class="grow"><label class="q" for="email" data-t="email"></label><input id="email" type="email" data-ph="email_ph" autocomplete="email"></div>
</div>
<div class="hp" aria-hidden="true"><label for="website" data-t="website"></label><input id="website" type="text" tabindex="-1" autocomplete="off"></div>
<label class="tick"><input id="ack" type="checkbox"><span data-t="ack"></span></label>
<label class="tick"><input id="consent" type="checkbox"><span data-t="consent"></span></label>
<div class="actions">
<button type="button" id="check" class="btn primary" data-t="check"></button>
<button type="button" id="submit" class="btn" data-t="submit" disabled></button>
</div>
<div id="result" aria-live="polite"></div>
</section>
</div>
<aside id="notes" class="notes"></aside>
</div>
</section>
</main>
<footer class="foot"><div class="wrap"><p data-t="footer"></p><p data-t="art_credit"></p></div></footer>
<script type="module" src="app.js"></script>
</body>
</html>
|