<?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: Farshad Momtaz</title>
    <description>The latest articles on DEV Community by Farshad Momtaz (@fdmomtaz).</description>
    <link>https://dev.to/fdmomtaz</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%2F1769361%2F17fed0a9-df16-4170-b8aa-536b091d3e7e.jpeg</url>
      <title>DEV Community: Farshad Momtaz</title>
      <link>https://dev.to/fdmomtaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fdmomtaz"/>
    <language>en</language>
    <item>
      <title>My Journey in Making a Game with .NET MAUI</title>
      <dc:creator>Farshad Momtaz</dc:creator>
      <pubDate>Fri, 26 Jul 2024 17:07:47 +0000</pubDate>
      <link>https://dev.to/fdmomtaz/my-journey-in-making-a-game-with-net-maui-4hjk</link>
      <guid>https://dev.to/fdmomtaz/my-journey-in-making-a-game-with-net-maui-4hjk</guid>
      <description>&lt;p&gt;When it comes to making a cross-platform game, the usual suspects are Unity, Unreal Engine, Godot, or Game Maker. But have you considered .NET MAUI? For my .NET MAUI UI July (#MAUIUIJuly) challenge, I decided to create a Sudoku game entirely in .NET MAUI.&lt;/p&gt;

&lt;p&gt;I set two goals for myself when creating the app: it needed to look good (at least in my opinion) and it needed to be fast.&lt;/p&gt;

&lt;p&gt;As every good project begins, I first needed to understand the requirements: Learning how to play Sudoku! After understanding the logic, I started sketching out some wireframes on paper. The printable wireframes at &lt;a href="https://www.sketchize.com" rel="noopener noreferrer"&gt;Sketchize&lt;/a&gt; are awesome if you are looking for a good one. &lt;/p&gt;

&lt;p&gt;And finally, I started coding. &lt;/p&gt;

&lt;p&gt;You can find the full code here at my GitHub: &lt;a href="https://github.com/fdmomtaz/Sudoku-DotNetMaui/" rel="noopener noreferrer"&gt;github.com/fdmomtaz/Sudoku-DotNetMaui/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  So what did I learn?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;You can make a game using .NET MAUI!!!&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;MVVM is awesome after you get used to it! *&lt;/em&gt; &lt;br&gt;
When you start using it MVVM is really strange but after you spend some time getting used to it and understanding how it works it gets easy and will save you time. &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Use Compiled Bindings *&lt;/em&gt; &lt;br&gt;
After coding the Sudoku board and adding the bindings the page was a bit laggy to load. The solution to that problem was easy: compiled bindings!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It's not that hard to add dark mode&lt;/strong&gt;&lt;br&gt;
Given MAUI has support for dark mode out of the box, just go ahead as use the &lt;code&gt;AppThemeBinding&lt;/code&gt; and add alternative color pallet to your app.&lt;/p&gt;

&lt;p&gt;Please checkout the app on GitHub and let me know what you think and how can I improve it :)&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
