Skip to content

Commit

Permalink
change website to game in browser game text
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaimran08 committed Jun 14, 2024
1 parent 1e0df38 commit 8e0829b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions FF2024/browser_game.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h3 class="anchored" data-anchor-id="adding-interactive-elements">Adding complex
<div class="cell">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Can we add an ai opponent to the game that moves automatically on its turn.</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>LLMs are becoming increasingly good at writing code for websites so we can ask for more advanced elements. In principle, you can try anything you can describe reasonably well.</p>
<p>LLMs are becoming increasingly good at writing code so we can ask for more advanced elements. In principle, you can try anything you can describe reasonably well.</p>
<blockquote class="blockquote">
<p>☝️ <strong>TIP</strong>: The LLMs can also suggest changes to the game. For example in this case the LLM suggested the following:</p>

Expand All @@ -117,7 +117,7 @@ <h3 class="anchored" data-anchor-id="adding-interactive-elements">Adding complex
</div>
<p>At this stage, the game still used basic ui elements but now had a difficulty setting in the interface: <a href="https://blobserver.dc.scilifelab.se/blob/facility_forum_borwser_game_2.png">facility_forum_borwser_game_2.png</a></p>
<blockquote class="blockquote">
<p>☝️ <strong>TIP</strong>: Think about what kind of description you would need to provide to a colleague that is making a website for you, provide that same information to the LLM.</p>
<p>☝️ <strong>TIP</strong>: Think about what kind of description you would need to provide to a colleague that is making a website or game for you, provide that same information to the LLM.</p>
</blockquote>
<section id="improving-the-look" class="level3">
<h3 class="anchored" data-anchor-id="improving-the-look">Improving the look</h3>
Expand Down Expand Up @@ -151,9 +151,9 @@ <h3 class="anchored" data-anchor-id="improving-the-look">Improving the look</h3>
<p>This was the final result: <a href="https://blobserver.dc.scilifelab.se/blob/facility_forum_borwser_game_6.png">facility_forum_borwser_game_5.png</a></p>

</section>
<section id="advanced-hosting-the-website" class="level3">
<h3 class="anchored" data-anchor-id="advanced-hosting-the-website">Hosting the website</h3>
<p>After the code in generated you can ask the LLM if it can host the website. It can't do that but it can give you suggestions. I asked it if if could deploy the app to a service called netlify</p>
<section id="advanced-hosting-the-game" class="level3">
<h3 class="anchored" data-anchor-id="advanced-hosting-the-game">Hosting the game</h3>
<p>After the code in generated you can ask the LLM if it can host the game. It can't do that but it can give you suggestions. I asked it if if could deploy the app to a service called netlify</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Can you deploy this to netlify?</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
Expand Down

0 comments on commit 8e0829b

Please sign in to comment.