<?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: elkhamyyali</title>
    <description>The latest articles on DEV Community by elkhamyyali (@elkhamyyali).</description>
    <link>https://dev.to/elkhamyyali</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1399399%2F7881d836-612e-4d99-8538-2d0661c5e243.png</url>
      <title>DEV Community: elkhamyyali</title>
      <link>https://dev.to/elkhamyyali</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/elkhamyyali"/>
    <language>en</language>
    <item>
      <title>I built a daily Wordle-style game for football kits</title>
      <dc:creator>elkhamyyali</dc:creator>
      <pubDate>Sun, 29 Nov 2026 12:39:26 +0000</pubDate>
      <link>https://dev.to/elkhamyyali/i-built-a-daily-wordle-style-game-for-football-kits-c1i</link>
      <guid>https://dev.to/elkhamyyali/i-built-a-daily-wordle-style-game-for-football-kits-c1i</guid>
      <description>&lt;p&gt;Every football fan can name a club from its shirt. Far fewer can name the season. That gap is the whole idea behind &lt;a href="https://kit-detective.vercel.app" rel="noopener noreferrer"&gt;Kit Detective&lt;/a&gt;, a small daily game I shipped this week: you get one cropped piece of a football kit, six guesses, and you have to name the club and the season.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it plays
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One puzzle a day, the same for everyone, in the spirit of Wordle.&lt;/li&gt;
&lt;li&gt;Guess a club and a year. A wrong club tells you if you are in the right league or the right country. A wrong year tells you warmer or colder.&lt;/li&gt;
&lt;li&gt;Six guesses. The reveal shows the full kit with its photo credit.&lt;/li&gt;
&lt;li&gt;No sign-up, no account, no ads. Just the game and a shareable result grid.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also a practice mode and an archive of past kits, so a new visitor is not stuck waiting for midnight.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;p&gt;It is a small Next.js app with plain CSS, deployed free on Vercel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The game itself is one client component holding the guess state, the warm/cold logic and the share text.&lt;/li&gt;
&lt;li&gt;Puzzles live in a plain data file: kit image, club, season, and the credit block for the photo.&lt;/li&gt;
&lt;li&gt;Each puzzle also gets its own static page so results can be linked and shared, plus a sitemap and robots file for the basics.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The part that took the longest was not the code. It was the images.&lt;/p&gt;

&lt;h2&gt;
  
  
  Licences are the hard part
&lt;/h2&gt;

&lt;p&gt;Football kit photos are mostly copyrighted. Rather than scrape and hope, every image comes from Wikimedia Commons with a licence I checked by hand: CC BY-SA or CC0, attribution recorded next to the file. Every reveal shows the credit, and there is a credits page listing the source file for each kit.&lt;/p&gt;

&lt;p&gt;If you are building anything that shows club or league imagery, budget real time for this. A takedown or a wrong licence is a much worse outcome than a slower launch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do differently
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Start with fewer kits. Twenty was more licence work than I expected.&lt;/li&gt;
&lt;li&gt;Decide the reveal screen before the game logic. The result card is what people share, and it drove several layout decisions late.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The game is live at &lt;a href="https://kit-detective.vercel.app" rel="noopener noreferrer"&gt;kit-detective.vercel.app&lt;/a&gt;. If you play it and the guessing feels too easy or too cruel, I would like to hear which.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>nextjs</category>
      <category>football</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I mapped every big football ground in Egypt, then made it a checklist</title>
      <dc:creator>elkhamyyali</dc:creator>
      <pubDate>Sun, 29 Nov 2026 12:24:21 +0000</pubDate>
      <link>https://dev.to/elkhamyyali/i-mapped-every-big-football-ground-in-egypt-then-made-it-a-checklist-5h40</link>
      <guid>https://dev.to/elkhamyyali/i-mapped-every-big-football-ground-in-egypt-then-made-it-a-checklist-5h40</guid>
      <description>&lt;p&gt;Egypt has 33 football grounds worth travelling for: every ground with a listed capacity of 10,000 or more, plus Al Ahly's 1917 training ground. I built a free site that puts all of them on one map, lets you tick off the ones you have actually stood in, and gives you a link you can share with your mates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://egypt-groundhopper.vercel.app" rel="noopener noreferrer"&gt;https://egypt-groundhopper.vercel.app&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/elkhamyyali/egypt-groundhopper" rel="noopener noreferrer"&gt;https://github.com/elkhamyyali/egypt-groundhopper&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Leaflet map of all 33 grounds. Visited grounds turn green.&lt;/li&gt;
&lt;li&gt;One tap on "I was there" and your count goes up. No account: the ticks live in your browser's storage.&lt;/li&gt;
&lt;li&gt;A share link that encodes exactly which grounds you have done (&lt;code&gt;/share?v=misr-stadium,cairo-international-stadium&lt;/code&gt;), so a friend can see your record and compare theirs.&lt;/li&gt;
&lt;li&gt;A page per ground: photo, capacity, opening year, tenants, map, and links out to Google Maps / OpenStreetMap.&lt;/li&gt;
&lt;li&gt;A printable checklist grouped by governorate, ordered by capacity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It goes from the 93,940 seats of Misr Stadium in the New Administrative Capital to the 3,000 of Al Ahly's 1917 training ground, and from Alexandria's 1929 classic to El Gouna on the Red Sea.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;Next.js 14 App Router, React 18, Leaflet + react-leaflet, lucide icons, and a hand-written CSS design system (no Tailwind, no component library). Hosted free on Vercel.&lt;/p&gt;

&lt;p&gt;Two things that mattered more than the stack:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do not invent data.&lt;/strong&gt; Capacities, cities, tenants and opening years come from Wikipedia's list of football stadiums in Egypt. Coordinates come from Wikipedia, Wikidata and OpenStreetMap. Where a ground only had city-level coordinates, the pin sits at city level and the page says so, instead of pretending to know the exact stand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credit the photos.&lt;/strong&gt; 22 of the 33 grounds have a free-licensed photo from Wikimedia Commons. Each one carries the photographer and the licence on the ground page and on an About page. The other 11 get a plain placeholder rather than a random picture of a different stadium.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add the smaller grounds below 10,000 capacity, and the ones that have been demolished or replaced.&lt;/li&gt;
&lt;li&gt;Let people attach a match and a date to each tick, so the record reads like a proper groundhopping log.&lt;/li&gt;
&lt;li&gt;Real photos for the 11 missing grounds, taken by people who go.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have stood in any of these, the site will tell you how many you have left. Start with Cairo International, obviously.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with AI assistance (Instinct) for TacticPulse.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
    <item>
      <title>I built a 90-second football manager game (Next.js, no backend)</title>
      <dc:creator>elkhamyyali</dc:creator>
      <pubDate>Sun, 29 Nov 2026 12:20:37 +0000</pubDate>
      <link>https://dev.to/elkhamyyali/i-built-a-90-second-football-manager-game-nextjs-no-backend-1hif</link>
      <guid>https://dev.to/elkhamyyali/i-built-a-90-second-football-manager-game-nextjs-no-backend-1hif</guid>
      <description>&lt;p&gt;I wanted a football game that takes 90 seconds, needs no sign-up, and feels like the worst minute of a manager's week. So I built &lt;strong&gt;The Manager's Dilemma&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Play it:&lt;/strong&gt; &lt;a href="https://managers-dilemma.vercel.app" rel="noopener noreferrer"&gt;https://managers-dilemma.vercel.app&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/elkhamyyali/managers-dilemma" rel="noopener noreferrer"&gt;https://github.com/elkhamyyali/managers-dilemma&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;It's the 70th minute. 0-0. Your star is sulking and the crowd wants blood. You get 15 seconds to choose. Six calls per match, 90 seconds total.&lt;/p&gt;

&lt;p&gt;Every choice moves three meters: Fans, Board and Squad. Any meter that hits zero and you're sacked. The popular option usually costs you the dressing room, so there is no free answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it's built
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Next.js 14 (App Router), plain CSS, no database, no trackers&lt;/li&gt;
&lt;li&gt;Scenarios live in one JSON file (51 right now). Each has three options with an outcome text and an effect on the three meters&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daily match:&lt;/strong&gt; the six scenarios are picked with a seeded shuffle from the date, so everyone gets the same match each day. A small seeded PRNG (mulberry32) does the job, no backend needed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streak and best score&lt;/strong&gt; are stored in localStorage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Share card:&lt;/strong&gt; the result screen draws a 1080x1080 PNG on a canvas and passes it to the Web Share API. There is also a &lt;code&gt;/r&lt;/code&gt; page with a dynamic preview image made by an edge route using &lt;code&gt;next/og&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Hosted free on Vercel&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;A timer changes the game. With no clock you overthink. With 15 seconds you go with your gut, which is what a touchline decision feels like.&lt;/li&gt;
&lt;li&gt;Shuffling the option order per scenario matters. Otherwise players learn that "option 2 is the safe one" and stop reading.&lt;/li&gt;
&lt;li&gt;A daily seed is a cheap way to get people to compare scores without any server.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;More scenarios, a weekly "special" match, and possibly a short-form series of the toughest calls.&lt;/p&gt;

&lt;p&gt;The scenarios are all original and fictional. No club names, badges or player photos.&lt;/p&gt;

&lt;p&gt;Disclosure: this post and parts of the code were written with AI assistance.&lt;/p&gt;

&lt;p&gt;If you get over 200 out of 300, tell me your manager style in the comments.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>nextjs</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
