<?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: Sussana</title>
    <description>The latest articles on DEV Community by Sussana (@sussana7).</description>
    <link>https://dev.to/sussana7</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%2F3128856%2Fbbb2a01f-cb7a-49f1-84bf-d861c3e78fac.jpeg</url>
      <title>DEV Community: Sussana</title>
      <link>https://dev.to/sussana7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sussana7"/>
    <language>en</language>
    <item>
      <title>🧠 Oware as an Indigenous Algorithmic Tool</title>
      <dc:creator>Sussana</dc:creator>
      <pubDate>Wed, 07 May 2025 09:35:06 +0000</pubDate>
      <link>https://dev.to/sussana7/oware-as-an-indigenous-algorithmic-tool-4mbf</link>
      <guid>https://dev.to/sussana7/oware-as-an-indigenous-algorithmic-tool-4mbf</guid>
      <description>&lt;p&gt;🧠 &lt;strong&gt;Oware as an Indigenous Algorithmic Tool&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Oware — also known as &lt;em&gt;Awale&lt;/em&gt;, &lt;em&gt;Ayo&lt;/em&gt;, or &lt;em&gt;Mancala&lt;/em&gt; in different regions — is more than a traditional African board game. It's a beautiful representation of algorithmic thinking, modeling key computing principles like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔁 &lt;strong&gt;Iteration&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;❓ &lt;strong&gt;Conditionals&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;🔄 &lt;strong&gt;State transitions&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;🧠 &lt;strong&gt;Memory manipulation&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s break down how the core actions of the game mirror computational logic 👇&lt;/p&gt;




&lt;h3&gt;
  
  
  🕹️ &lt;strong&gt;Basic Gameplay Overview&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The board consists of two rows of six pits (12 total).&lt;/li&gt;
&lt;li&gt;Each pit begins with 4 seeds (48 seeds total).&lt;/li&gt;
&lt;li&gt;Players take turns selecting seeds from one of their pits and sowing them counter-clockwise, placing one seed per pit.&lt;/li&gt;
&lt;li&gt;If the last seed lands in an opponent’s pit, leaving exactly 2 or 3 seeds, you capture those seeds.&lt;/li&gt;
&lt;li&gt;Captures can chain backward if previous pits also end up with 2 or 3 seeds.&lt;/li&gt;
&lt;li&gt;The game ends when a player can't move or when 25+ seeds are captured by one player.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🧩 &lt;strong&gt;Game Actions Mapped to Algorithm Concepts&lt;/strong&gt;
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Game Action&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Algorithm Concept&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Picking seeds&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;start()&lt;/code&gt; or &lt;code&gt;input()&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Distributing one-by-one&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;loop&lt;/code&gt; (&lt;code&gt;for&lt;/code&gt;, &lt;code&gt;while&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skipping original pit&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;if statement&lt;/code&gt; / &lt;code&gt;loop condition&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capturing opponent’s seeds&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;if winCondition()&lt;/code&gt; or &lt;code&gt;capture()&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;End of game&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;return&lt;/code&gt;, &lt;code&gt;terminate&lt;/code&gt;, &lt;code&gt;break&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each move is like running a mini-program: &lt;strong&gt;input → loop → decision → output&lt;/strong&gt; ✨&lt;/p&gt;




&lt;h3&gt;
  
  
  ❓ &lt;strong&gt;Why Skip a Pit?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When sowing seeds, you skip the pit you picked them from to avoid creating infinite loops or unfair self-distribution. This is a form of a &lt;strong&gt;loop condition&lt;/strong&gt; — just like in coding, where we may exclude certain values from a loop iteration using &lt;code&gt;continue&lt;/code&gt; or custom conditions.&lt;/p&gt;




&lt;h3&gt;
  
  
  ⚠️ &lt;strong&gt;Disclaimer&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;There are regional variations (e.g., Ghana, Nigeria, Ivory Coast), but the international rules we’re using are well-accepted and perfect for connecting with algorithmic principles in a classroom or technical setting.&lt;/p&gt;




&lt;h3&gt;
  
  
  💡 &lt;strong&gt;Final Thoughts&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Who knew a traditional game could be such a strong teacher of computational logic? 🤯&lt;br&gt;&lt;br&gt;
If you're learning algorithms, Oware is a creative and cultural way to reinforce the foundations of problem-solving.&lt;/p&gt;

&lt;p&gt;🔁 Next time you play it — think like a programmer.&lt;br&gt;&lt;br&gt;
👨‍💻👩‍💻 Every move is an algorithm!&lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>programming</category>
      <category>education</category>
      <category>culture</category>
    </item>
  </channel>
</rss>
