<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TJ Stoll</title>
    <description>The latest articles on DEV Community by TJ Stoll (@tjstoll).</description>
    <link>https://dev.to/tjstoll</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F984249%2F87e601c3-13b4-4edf-988c-d111f66a9dc3.JPG</url>
      <title>DEV Community: TJ Stoll</title>
      <link>https://dev.to/tjstoll</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tjstoll"/>
    <language>en</language>
    <item>
      <title>Alas... Tetris</title>
      <dc:creator>TJ Stoll</dc:creator>
      <pubDate>Wed, 05 Apr 2023 18:43:12 +0000</pubDate>
      <link>https://dev.to/tjstoll/alas-tetris-51fe</link>
      <guid>https://dev.to/tjstoll/alas-tetris-51fe</guid>
      <description>&lt;p&gt;Hey! Do you remember in &lt;a href="https://dev.to/tjstoll/game-development-4ehd"&gt;my last post&lt;/a&gt;, I mentioned I was working on Tetris? Well, here it is:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsk5bbcvc2ghxoqy2peph.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsk5bbcvc2ghxoqy2peph.png" alt="screenshot of Tetris game" width="800" height="1777"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can find it on my &lt;a href="https://codepen.io/tjstoll/pen/oNPJoOJ" rel="noopener noreferrer"&gt;Code Pen&lt;/a&gt; or &lt;a href="https://github.com/tjstoll/miniProjects/tree/main/tetris/scratchFiles" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The code is a mess&lt;/li&gt;
&lt;li&gt;It's a little janky (as the subtitle suggests)&lt;/li&gt;
&lt;li&gt;Controls for mobile are a sham&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But for the most part it's playable!&lt;/p&gt;

&lt;p&gt;I used pure JavaScript because I'm too lazy to learn any library or framework. But, honestly, I like it better this way! Part of the fun of coding is figuring out the logic and putting together a solution that works. And there were many times it did not work... But when it did, the satisfaction was unmatched!&lt;/p&gt;

&lt;p&gt;This is a big achievement for me in my game development journey. And despite being lazy, what better way to celebrate than to learn an actual game engine like Phaser JS or Unity?&lt;/p&gt;

&lt;p&gt;To Be Continued...&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>gamedev</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>A Fun Game Dev Journey :)</title>
      <dc:creator>TJ Stoll</dc:creator>
      <pubDate>Wed, 11 Jan 2023 06:05:19 +0000</pubDate>
      <link>https://dev.to/tjstoll/game-development-4ehd</link>
      <guid>https://dev.to/tjstoll/game-development-4ehd</guid>
      <description>&lt;p&gt;Recently, I rekindled my passion for web development. I even bought a series of lectures on &lt;a href="https://www.udemy.com/course/the-web-developer-bootcamp/]" rel="noopener noreferrer"&gt;Udemy&lt;/a&gt; teaching me all the ins and outs of full-stack web development. It's going great.&lt;/p&gt;

&lt;p&gt;But over the holidays an old flame within me started to rekindle. I partook in the age old tradition of watching my brother play video games. He started off with &lt;em&gt;Red Dead Redemption&lt;/em&gt; and then switched to &lt;em&gt;Elden Ring&lt;/em&gt;. Both fantastic games. And as I watched, I remembered the exciting days when I used to fiddle around with the Unity 3D engine. That trip down memory lane led me to discovering the magic of&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;canvas&amp;gt;&amp;lt;/canvas&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I didn't even know I knew this tag. But I researched it and found &lt;a href="https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript" rel="noopener noreferrer"&gt;a tutorial on the MDN explaining how to make a 2D breakout game&lt;/a&gt;. I already got the idea in my head to build &lt;a href="https://codepen.io/tjstoll/pen/xxJGgEz" rel="noopener noreferrer"&gt;&lt;em&gt;Pong&lt;/em&gt;&lt;/a&gt; so I used this tutorial to build a version of it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh0075p4lasqox14afusz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh0075p4lasqox14afusz.png" alt="image of my squash game" width="485" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's definitely more like squash... But I had a blast building it!&lt;/p&gt;

&lt;p&gt;I went on to make another game called &lt;a href="https://github.com/tjstoll/miniProjects/tree/main/harvestGame" rel="noopener noreferrer"&gt;&lt;em&gt;Harvester&lt;/em&gt;&lt;/a&gt; where a "farmer" (white block) has to go around harvesting all their "fruit" (red block) before it disappears. It's a bit janky so I never posted it to my Codepen, but it was also fun to build.&lt;/p&gt;

&lt;p&gt;I was on a roll though. So I built another game: &lt;a href="https://codepen.io/tjstoll/pen/jOpqQwj" rel="noopener noreferrer"&gt;&lt;em&gt;Guess The Word&lt;/em&gt;&lt;/a&gt;. It's basically &lt;em&gt;Hangman&lt;/em&gt;, but with no hanging man and a very limited array of words to guess. It's simple and beautiful. &lt;a href="https://github.com/tjstoll/guess-word/blob/master/guess-word.py" rel="noopener noreferrer"&gt;I had actually built a console based version of this game before in Python&lt;/a&gt;. But it was nice to finally build it with some nice UI.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fio5gz7kop5shihirpk43.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fio5gz7kop5shihirpk43.png" alt="image of my hangman game" width="653" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the momentum keeps going. Now I'm working on &lt;em&gt;Tetris&lt;/em&gt;. Did you know that the shapes in &lt;em&gt;Tetris&lt;/em&gt; are actually a very specific subset of geometric shapes generally labelled as polyominoes? Check out &lt;a href="https://en.wikipedia.org/wiki/Tetromino" rel="noopener noreferrer"&gt;the Wikipedia&lt;/a&gt;, it's fascinating! Anyway, this one is a challenge for me. But I'm learning a lot about JavaScript and geometry. I have a basic skeleton version just focusing on some game mechanics, but no graphics.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo38winle6bk508mb2f2s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo38winle6bk508mb2f2s.png" alt="image of my ugly tetris" width="481" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My &lt;em&gt;Tetris&lt;/em&gt; won't be built in a day like the others were. But it's the next step in a hopefully long and interesting journey into the world of game development.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>career</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Back In The Saddle</title>
      <dc:creator>TJ Stoll</dc:creator>
      <pubDate>Tue, 06 Dec 2022 06:10:04 +0000</pubDate>
      <link>https://dev.to/tjstoll/back-in-the-saddle-9h3</link>
      <guid>https://dev.to/tjstoll/back-in-the-saddle-9h3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Hello, world! Good to see you again!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I've been out of the the coding game for well over a year now. And out of web development for much more than that.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Bit of History
&lt;/h2&gt;

&lt;p&gt;You see, I taught myself web development in university as a distraction from my actual class work. It turns out I loved it! Fast-forward to graduation in 2018 and I was applying for jobs in that very field. Unfortunately, I could never make it past the coding challenges because I was slightly more amateur than I thought. So I opted for a job in a field that was more tailored to my degree: data science.&lt;/p&gt;

&lt;p&gt;I ended up hating that job. It paid well, but I couldn't shake that undeniable feeling of unfulfillment. Maybe it was the company, maybe it was the work, but I could never deny that web development was and still is my true love. After nearly two years I ended up leaving the job for good in search of something different.&lt;/p&gt;

&lt;h2&gt;
  
  
  And "Something Different" I Found!
&lt;/h2&gt;

&lt;p&gt;In all that time away from computers I:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;WWOOFed on a ranch in the Yukon&lt;/li&gt;
&lt;li&gt;was retired (okay, unemployed actually) for a bit&lt;/li&gt;
&lt;li&gt;worked a year in landscaping (my other dream job)&lt;/li&gt;
&lt;li&gt;and backpacked all of Vietnam&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I learned a lot about myself. I learned what a crazy, creative, strong, and brave person I can be. I also learned that I can do anything I put my mind to! So, I've decided to give my dream another shot! But this time, on my own terms&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrangle That Wild Pony!
&lt;/h2&gt;

&lt;p&gt;Today, I'm getting back to it! I have a renewed spirit and a renewed energy. And to kickstart and help guide my journey, I've signed up for an online course that teaches the basics of web development. Some of it I already know, but there are lots of topics covered I never gave myself the chance to explore.&lt;/p&gt;

&lt;p&gt;I'm picking up where I left off. I'm pushing my limits. And I'm not taking "no" for an answer! :) &lt;/p&gt;

</description>
      <category>rust</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
