summary refs log tree commit diff stats
path: root/blog/c/game.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog/c/game.html')
-rw-r--r--blog/c/game.html17
1 files changed, 8 insertions, 9 deletions
diff --git a/blog/c/game.html b/blog/c/game.html
index ac14ee3..6543e5a 100644
--- a/blog/c/game.html
+++ b/blog/c/game.html
@@ -3,7 +3,7 @@
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
-<!-- 2024-02-15 Thu 00:02 -->
+<!-- 2024-02-15 Thu 00:09 -->
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1" />
 <title>The loneliness Game</title>
@@ -23,17 +23,17 @@
 <p>
 Hello !!, I hope you are doing great you amazing person whoever you are, and I really appreciate you reading my little C programming adventure. Soo basically I wanted to blog about a little game I made when bored, and figured out it would be a great way to optimize it, and learn new stuff too by documenting the process!
 </p>
-<div id="outline-container-org09f9ff1" class="outline-2">
-<h2 id="org09f9ff1">The concept :</h2>
-<div class="outline-text-2" id="text-org09f9ff1">
+<div id="outline-container-orgbfcec8f" class="outline-2">
+<h2 id="orgbfcec8f">The concept :</h2>
+<div class="outline-text-2" id="text-orgbfcec8f">
 <p>
 Basically the player is faced with a NxM field made up with the sign <b>&ldquo;-&rdquo;</b> and the player is denoted by the symbol <b>&ldquo;+&rdquo;</b>, there are also Bonuses <b>&ldquo;B&rdquo;</b> which add 1 to your score, Traps <b>&ldquo;T&rdquo;</b>, that remove one from your score, and Dead <b>&ldquo;D&rdquo;</b> which resets the score to 0. I will go into more of the specifics later but for now this is how it works, and the controls are Basic WASD bindings, though i may go for a HJKL style later.
 </p>
 </div>
 </div>
-<div id="outline-container-org82bcd1e" class="outline-2">
-<h2 id="org82bcd1e">The code :</h2>
-<div class="outline-text-2" id="text-org82bcd1e">
+<div id="outline-container-org7a1e154" class="outline-2">
+<h2 id="org7a1e154">The code :</h2>
+<div class="outline-text-2" id="text-org7a1e154">
 <div class="org-src-container">
 <pre class="src src-c"><span class="linenr">  1: </span><span style="color: #f9e2af;">#include</span> <span style="color: #f38ba8;">&lt;</span><span style="color: #a6e3a1;">stdio.h</span><span style="color: #f38ba8;">&gt;</span>
 <span class="linenr">  2: </span><span style="color: #f9e2af;">#include</span> <span style="color: #f38ba8;">&lt;</span><span style="color: #a6e3a1;">stdlib.h</span><span style="color: #f38ba8;">&gt;</span>
@@ -234,7 +234,6 @@ We show the score and the moves too, which at the start of the game are set to 0
 <p>
 After that we have some logic which should also be changed to account for the n and m changes yet again
 </p>
-
 <div class="org-src-container">
 <pre class="src src-c"><span class="linenr">37: </span>    <span style="color: #cba6f7;">if</span> <span style="color: #f38ba8;">(</span>input == <span style="color: #a6e3a1;">'w'</span><span style="color: #f38ba8;">)</span> <span style="color: #f38ba8;">{</span>
 <span class="linenr">38: </span>        printf<span style="color: #fab387;">(</span><span style="color: #a6e3a1;">"Moving up\n"</span><span style="color: #fab387;">)</span>;
@@ -289,7 +288,7 @@ What this achieves is the &ldquo;teleportation effect&rdquo; whenever you are at
 </div>
 <div id="postamble" class="status">
 <p class="author">Author: Crystal</p>
-<p class="date">Created: 2024-02-15 Thu 00:02</p>
+<p class="date">Created: 2024-02-15 Thu 00:09</p>
 </div>
 </body>
 </html>