<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matt Oates on Medium]]></title>
        <description><![CDATA[Stories by Matt Oates on Medium]]></description>
        <link>https://medium.com/@mattoates?source=rss-886afebab79b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RZs0RHUep2dY5Wjk.</url>
            <title>Stories by Matt Oates on Medium</title>
            <link>https://medium.com/@mattoates?source=rss-886afebab79b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 21:12:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mattoates/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Finally! Blurred backgrounds with CSS]]></title>
            <link>https://medium.com/boardom/finally-blurred-backgrounds-with-css-84cb93e0775?source=rss-886afebab79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/84cb93e0775</guid>
            <dc:creator><![CDATA[Matt Oates]]></dc:creator>
            <pubDate>Fri, 06 Sep 2019 15:51:15 GMT</pubDate>
            <atom:updated>2019-09-07T00:12:30.218Z</atom:updated>
            <content:encoded><![CDATA[<p>I keep an “inspirations” folder of things that help me keep going. I have screenshots of affirming words from my app’s users, as well as exciting visuals such as color schemes. (I’m looking at you, every <a href="https://www.youtube.com/user/Kurzgesagt">Kurzgesagt</a> video ever made)</p><p>One such screenshot that I’ve been mesmerized by lately is one that I took from a Fluent Design doc.</p><figure><img alt="A 3d rendered cube made of 8 smaller cubes, each with radically different color, transparency, diffraction, etc." src="https://cdn-images-1.medium.com/max/342/1*zjwsIpPCP2IbXTDVmod8xQ.png" /><figcaption>Source: <a href="https://docs.microsoft.com/en-us/windows/apps/fluent-design-system#principles">Microsoft Fluent Design Principles</a></figcaption></figure><p>Wouldn’t it be awesome if we could style HTML elements to look like some of these materials? Acrylic, smoked glass, whatever you’d call that teal cube. As of the latest Chrome version, we now can. (Also supported in Safari and Edge)</p><p>Previously, we’ve only had color and shape at our disposal to differentiate between UI components. Thanks to the new backdrop-filter CSS attribute, we can do things like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*mityfhJkhSBnnU9WCkDdLg.png" /><figcaption>backdrop-filter: blur(3px) grayscale(50%)</figcaption></figure><p>Note how this differs from the older filter attribute:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*CJnXBJ1TjLqx7HfI4J32zg.png" /><figcaption>filter: blur(3px) grayscale(50%)</figcaption></figure><p>By using blur, brightness, contrast, drop-shadow, grayscale, hue-rotate, invert, opacity, sepia, and saturate, we can finally make HTML elements feel like materials other than paper without <a href="https://codepen.io/betravis/pen/ikvrx">expensive hacks that only work on static backgrounds</a>.</p><p>But Matt! Isn’t this just wasted cycles? <strong>K</strong>eep <strong>I</strong>t <strong>S</strong>imple <strong>S</strong>tupid!</p><p>The performance cost from cursory testing seems negligible. <a href="https://codepen.io/pepf/pen/GqZkdj">Demos that have dozens of moving objects behind a large blur</a> still run at a smooth 60 fps. These filters could definitely be abused, but today Boardom only uses this in two places:</p><ul><li>the app header</li><li>the end game dialog</li></ul><p>This makes a lot of sense for the dialog, since it shows after a game is won / lost / drawn. If you didn’t see which move was made before the dialog comes up, you can still generally see which pieces are where without the background hurting readability of the dialog. It’s not jarring when the dialog animates in and out. TL;DR: It preserves visual context.</p><p>Finally, I feel we can do Fluent Design justice on the web:</p><blockquote>By incorporating elements of the physical world, a Fluent experience taps into something fundamental. It uses light, shadow, motion, depth, and texture to organize information in a way that feels intuitive and instinctual.</blockquote><p>So, how do I use this today?</p><ol><li>Check out <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter">Mozilla’s </a><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter">backdrop-filter docs</a></li><li>Look at <a href="https://boardom.io/">https://boardom.io</a> for a live example. (see the header and end game dialog)</li><li>Don’t forget about backwards compatibility. Have a fallback for <a href="https://caniuse.com/#search=backdrop-filter">browsers that don’t support</a> backdrop-filter.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e15e7f216bf3200171c3648915e87b3/href">https://medium.com/media/4e15e7f216bf3200171c3648915e87b3/href</a></iframe><p>If you’d like to see backdrop-filter in action, I invite you to check out my board game site <a href="https://boardom.io/"><strong>Boardom.io</strong></a>. Activity is quiet right now, but if you invite a friend or <a href="https://boardom.io/play/matt"><strong>play with me</strong></a>, we’ll get the party started.</p><p>Lastly, let’s keep the conversation going! Comment letting us know how you’re using backdrop-filter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84cb93e0775" width="1" height="1" alt=""><hr><p><a href="https://medium.com/boardom/finally-blurred-backgrounds-with-css-84cb93e0775">Finally! Blurred backgrounds with CSS</a> was originally published in <a href="https://medium.com/boardom">Boardom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Play Hnefatafl]]></title>
            <link>https://medium.com/boardom/how-to-play-hnefatafl-32d8db70bd16?source=rss-886afebab79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/32d8db70bd16</guid>
            <category><![CDATA[tafl]]></category>
            <category><![CDATA[boardom]]></category>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[hnefatafl]]></category>
            <dc:creator><![CDATA[Matt Oates]]></dc:creator>
            <pubDate>Tue, 14 Aug 2018 06:58:56 GMT</pubDate>
            <atom:updated>2018-08-18T15:52:26.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_RwOQ4Ah6EeExd4ILR9ZA.jpeg" /><figcaption>Hnefatafl, a surprisingly rich board game with Viking origins</figcaption></figure><p><em>All credit should go to the </em><a href="http://www.fetlar.org/hnefatafl"><em>Fetlar Hnefatafl Panel</em></a><em> for standardizing and balancing the rules.</em></p><p>First of all, let’s figure out how to pronounce this. “<strong>neff-a-tafl</strong>”. Not as tricky as you thought, right? Hopefully I can convince you the gameplay isn’t tricky either.</p><p>Hnefatafl, sometimes referred to as Tafl, is a unique mix of <strong>hunt games</strong> like <a href="https://en.wikipedia.org/wiki/Fox_games#Fox_and_Hounds">Fox and Hounds</a>, and <strong>war games</strong> like <a href="https://en.wikipedia.org/wiki/Chess">Chess</a>. Hunt games have one player whose goal is to get their piece from one spot to another, while the other player tries to stop them. Because the prey has only one piece, these games are often difficult to balance, are simplistic, and lead to <a href="https://chess.stackexchange.com/a/16176">sharp gameplay</a>. War games are fought between players with equal armies, naturally leading to more compelling and balanced gameplay. By giving the prey an army as in Tafl, a new class of board games emerges <strong>unlike any mainstream game played today</strong>.</p><p>Intrigued? I sure was. Now let’s explain the gameplay. This article is meant to be as concise as possible, so please let us know if you feel any sections are confusing or unnecessary.</p><h3>The Starting Position</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z91VnaaxNwNZO5YXxE0Fcw.png" /><figcaption>The attackers have 24 warriors. The defenders have 1 king and 12 warriors.</figcaption></figure><p>The attackers start with 24 warriors, and the defenders start with 12 warriors and 1 king. The 5 <strong>refuge squares </strong>are the dark squares, which are the four corners and center square.</p><h3>Endgame Conditions</h3><p><strong>Attackers win</strong> by capturing the king.</p><p><strong>Defenders win</strong> by bringing the king to one of the four corners.</p><p>The game is <strong>drawn</strong> if a player <strong>cannot move</strong>. The game can also optionally be drawn if a position is <strong>repeated 3 times</strong>. <em>A position is defined by the location of all pieces, as well as whose turn it is.</em></p><h3>Moving</h3><p>Attackers move first. Both players alternate turns until the game has ended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*kz0CfDnJ2Ebx0V2tS2HkVg.png" /><figcaption>The selected attacker’s warrior has 8 available moves.</figcaption></figure><p>Each piece moves <strong>horizontally </strong>and<strong> vertically</strong>, but <strong>cannot jump</strong> over or onto other pieces. As pictured, the attacker has 8 available moves. <em>Note refuge squares can only be occupied by the king</em>.</p><h4>Capturing the King</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*Q_oyGRexf8x7pGm_Lgckxw.gif" /></figure><p>The <strong>king</strong> is captured when all 4 adjacent squares are occupied by an <strong>attacker</strong>. The king may also be captured if he is on the central refuge square.</p><h4>Capturing Warriors</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*ieHjqUgwu3IqGrQa91tWWQ.gif" /><figcaption>2 attacking warriors capture a defending warrior</figcaption></figure><p>All other pieces are captured when they are <strong>sandwiched horizontally</strong> or <strong>vertically</strong> by their opponent’s pieces <em>after</em> a move has been made.</p><h3>Exceptions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*yF4LvY0JgoeCczlnYYJPGA.gif" /><figcaption>Refuge squares can also be used to capture warriors, with one exception below.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*SbGrdNBdBzKLNOh7yrBndQ.gif" /><figcaption>The center refuge square is not hostile to defenders if it is occupied by the king.</figcaption></figure><h3>Clarifications</h3><ul><li>Captures are not obligatory.</li><li>The king may be captured if he is on the central refuge square.</li><li>The king cannot be captured on the edge of the board, because he cannot be surrounded on all 4 sides.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*LgXOdQd2ml7xny1Zy3-FrA.gif" /><figcaption>You cannot capture your own pieces.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*MhtphUJdc59UMZCWJ51Lyw.gif" /><figcaption>You can capture more than one piece at a time.</figcaption></figure><p>If you want to play Tafl, we invite you to play it with us at <a href="https://boardom.io/">Boardom</a>. You can also <a href="https://boardom.io/play/matt">challenge me directly</a>. Don’t worry, we’re <a href="https://youtu.be/Tm-GaeJmCQ8?t=178">definitely not too good at it</a> yet.</p><p>Your move,</p><p>Matt</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32d8db70bd16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/boardom/how-to-play-hnefatafl-32d8db70bd16">How to Play Hnefatafl</a> was originally published in <a href="https://medium.com/boardom">Boardom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Complete Concise Algebraic Chess Move Notation Guide]]></title>
            <link>https://medium.com/boardom/your-complete-concise-algebraic-chess-move-notation-guide-f0d6bb148fb7?source=rss-886afebab79b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0d6bb148fb7</guid>
            <category><![CDATA[chess]]></category>
            <category><![CDATA[algebraic-notation]]></category>
            <category><![CDATA[pgn]]></category>
            <category><![CDATA[move-notation]]></category>
            <dc:creator><![CDATA[Matt Oates]]></dc:creator>
            <pubDate>Tue, 18 Oct 2016 02:56:22 GMT</pubDate>
            <atom:updated>2016-10-18T04:54:37.493Z</atom:updated>
            <content:encoded><![CDATA[<p>All of the articles explaining the notation that I was able to find are <a href="https://www.chess.com/article/view/chess-notation---the-language-of-chess">laughably incomplete</a> or <a href="http://www.chessfornovices.com/chessnotation.html">verbose</a>, so I decided to make my own.</p><p>I present to you the first ever (that I’m aware of) comprehensive flow chart explaining chess move notation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6si31bA_N_2O4FMfM9XHMA.png" /></figure><p><em>If you do not fully understand the rules of chess, check out </em><a href="https://en.wikipedia.org/wiki/Chessboard"><em>explanation of files and ranks on a chess board</em></a><em>, or an </em><a href="https://en.wikipedia.org/wiki/Rules_of_chess"><em>explanation of the rules of chess</em></a><em>.</em></p><h4>A short example</h4><p>Let’s explore the infamous Scholar’s Mate with this notation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPR8kshETM7eiA9q8tfdxA.png" /><figcaption>The Scholar’s Mate. You don’t want to lose this way.</figcaption></figure><p>1. e4 e5</p><p>2. Qh5 Nc6</p><p>3. Bc4 Nf6??</p><p>4. Qxf7#</p><p>Black had some major troubles in this game. As you can see, <strong>3. … Nf6??</strong> Is a massive blunder, allowing white to checkmate in one move with <strong>4. Qxf7#</strong>.</p><h4>Why so complicated?</h4><p>Chess algebraic notation is optimized for handwriting, since tournament players often record moves as they play. Other notation systems are much easier to understand initially, such as the coordinate system. (eg: E2-E4 E7-E5) The coordinate system doesn’t tell the whole story though. (Which piece moved? Is the opponent in check?)</p><p>Here’s the same game using the coordinate system:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPR8kshETM7eiA9q8tfdxA.png" /></figure><p>1. e2-e4 e7-e5</p><p>2. d1-h5 b8-c6</p><p>3. f1-f4 g8-f6</p><p>4. h5-f7</p><p>While it’s much easier to learn this notation, it doesn’t paint the same picture that the algebraic notation does.</p><h4>Actually, it’s not so bad.</h4><p>When you completely understand algebraic notation, it will feel very natural. Most redundant text is omitted, and decorators such as king threats (<strong>#</strong> for checkmate, <strong>+</strong> for check) and move strength (<strong>??</strong>, go home, you’re drunk) help explain what’s happening on the board. Because of the descriptive and concise nature, you will find algebraic notation in nearly every chess book.</p><p>I hope this flowchart has been helpful in demystifying the surprisingly elegant chess move notation.</p><p>If you’re looking for a new place to play chess or other challenging classic board games, I think you’ll enjoy playing at <a href="https://boardom.io/">Boardom</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0d6bb148fb7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/boardom/your-complete-concise-algebraic-chess-move-notation-guide-f0d6bb148fb7">Your Complete Concise Algebraic Chess Move Notation Guide</a> was originally published in <a href="https://medium.com/boardom">Boardom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>