<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wip | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/wip/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Wed, 24 Feb 2021 19:57:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>wip | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Work in Progress &#8211; Web game</title>
		<link>https://learncgames.com/work-in-progress-web-game/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=work-in-progress-web-game</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 26 Feb 2021 00:00:35 +0000</pubDate>
				<category><![CDATA[Blazor]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[inselkampf]]></category>
		<category><![CDATA[wip]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2757</guid>

					<description><![CDATA[<p>I did some investigative work on this at the weekend, This is my Inselkampf type web game. Although I know C#, I&#8217;m fairly new to ASP.NET and Blazor. Now the first thing you&#8217;ll notice about most Blazor examples on the web is that many look like the screenshot. In particular, the purple gradient down the [&#8230;]</p>
The post <a href="https://learncgames.com/work-in-progress-web-game/">Work in Progress – Web game</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:135,&quot;href&quot;:&quot;https:\/\/dotnet.microsoft.com\/apps\/aspnet\/web-apps\/blazor&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20211208202908\/https:\/\/dotnet.microsoft.com\/apps\/aspnet\/web-apps\/blazor&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:12:02&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-09 21:59:49&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-14 16:38:11&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-18 18:15:28&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-22 03:15:35&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-26 04:32:16&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-02 04:40:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-05 21:12:26&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-09 01:36:03&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-13 08:37:13&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-03-17 00:37:53&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-21 00:40:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-25 00:30:33&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-28 05:25:10&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-01 04:35:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-04 06:21:44&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-07 16:19:32&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-11 02:10:47&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-14 08:11:18&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-17 17:53:44&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-21 01:44:27&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-21 01:44:27&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:142,&quot;href&quot;:&quot;https:\/\/www.freecodecamp.org\/news\/css-example-css3&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251117003357\/https:\/\/www.freecodecamp.org\/news\/css-example-css3\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:13:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 12:38:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-14 01:16:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 00:35:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-22 12:37:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-26 04:32:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 04:40:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-06 00:38:59&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 20:40:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-15 00:40:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-19 00:34:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-23 00:37:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-27 00:39:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-31 00:31:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 10:32:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 18:24:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 04:27:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 12:17:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-16 20:12:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 04:04:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-23 19:56:27&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 19:56:27&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:143,&quot;href&quot;:&quot;https:\/\/gridbyexample.com\/examples&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251206002303\/https:\/\/gridbyexample.com\/examples\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:13:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 12:38:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 16:38:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 18:15:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 20:37:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 00:38:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 00:33:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 00:36:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 02:07:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-15 00:40:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 16:35:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-22 00:32:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-26 00:55:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 00:39:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 20:46:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 04:38:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 12:30:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-12 20:19:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 04:13:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-19 12:06:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-23 00:39:24&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-23 00:39:24&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:144,&quot;href&quot;:&quot;https:\/\/gridbyexample.com\/examples\/example13&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260130225314\/https:\/\/gridbyexample.com\/examples\/example13\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 12:13:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 20:36:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-15 00:35:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 18:15:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 04:34:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 04:24:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 15:02:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-06 00:39:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-10 08:30:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 00:37:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 16:56:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 00:40:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-25 00:30:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-28 05:25:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-01 04:35:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-04 12:42:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-07 20:34:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-11 10:09:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-14 18:01:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-18 04:09:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-21 12:02:53&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-21 12:02:53&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-2758" src="https://learncgames.com/wp-content/uploads/2021/02/blazor-app-300x194.png" alt="Blazor App" width="300" height="194" srcset="https://learncgames.com/wp-content/uploads/2021/02/blazor-app-300x194.png 300w, https://learncgames.com/wp-content/uploads/2021/02/blazor-app-768x497.png 768w, https://learncgames.com/wp-content/uploads/2021/02/blazor-app.png 880w" sizes="(max-width: 300px) 100vw, 300px" />I did some investigative work on this at the weekend, This is my <a title="Link to previous blog entries on Inselkampf" href="https://learncgames.com/?s=inselkampf" target="_blank" rel="nofollow noopener">Inselkampf type web game</a>. Although I know C#, I&#8217;m fairly new to ASP.NET and <a title="Link to Blazor articles on Microsoft.com" href="https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor" target="_blank" rel="nofollow noopener">Blazor</a>. Now the first thing you&#8217;ll notice about most Blazor examples on the web is that many look like the screenshot. In particular, the purple gradient down the left hand side.</p>
<p>So my first job was find out where that&#8217;s defined and try changing it. In the project which is Blazor WebAssembly, there&#8217;s a shared folder and it contains two .css files. MainLayout.razor.css and NavMenu.razor.css. These are the files you need to alter.</p>
<p>Now its probably seven or eight years since I last touched CSS and it has come on quite a bit since then. I discovered css-grid which simplifies things enormously.  If you want to find out more about CSS, take a look on <a title="Link to FreeCodeCamp.org on CSS3" href="https://www.freecodecamp.org/news/css-example-css3/" target="_blank" rel="nofollow noopener">FreeCodeCamp.org</a>. <a title="Link to gridbyexample.com examples" href="https://gridbyexample.com/examples/" target="_blank" rel="nofollow noopener">This site</a> has lots of example layouts using CSS-Grid and I went for <a href="https://gridbyexample.com/examples/example13/">Redefining Grid Areas with Media Queries. </a></p>
<p>This lets you specify a width so you can have a responsive website which adapts to mobile phones as well as desktop. I merged the css and HTML from the example into the project and although its an early stage, I&#8217;m quite pleased with it.</p>
<p><img decoding="async" class="alignleft size-medium wp-image-2760" src="https://learncgames.com/wp-content/uploads/2021/02/game-framework-300x117.png" alt="Game framework" width="300" height="117" srcset="https://learncgames.com/wp-content/uploads/2021/02/game-framework-300x117.png 300w, https://learncgames.com/wp-content/uploads/2021/02/game-framework-1024x400.png 1024w, https://learncgames.com/wp-content/uploads/2021/02/game-framework-768x300.png 768w, https://learncgames.com/wp-content/uploads/2021/02/game-framework.png 1081w" sizes="(max-width: 300px) 100vw, 300px" /> This is very early. The font, colours etc will all change but this has given me a web template with round corners, header, footer and two sidebars.</p>
<p>If I shrink the width of the browser the two sidebars move to positions above and below the main content like this below. It would have taken a lot more effort before css-grid to do this.</p>
<p><img decoding="async" class="alignleft wp-image-2766 size-medium" src="https://learncgames.com/wp-content/uploads/2021/02/narrow-game-framework-1-300x196.png" alt="Narrow game framework" width="300" height="196" srcset="https://learncgames.com/wp-content/uploads/2021/02/narrow-game-framework-1-300x196.png 300w, https://learncgames.com/wp-content/uploads/2021/02/narrow-game-framework-1.png 649w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/work-in-progress-web-game/">Work in Progress – Web game</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2757</post-id>	</item>
	</channel>
</rss>
