<?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: Nick Balyanitsa</title>
    <description>The latest articles on DEV Community by Nick Balyanitsa (@mykola_balianytsia_4522a6).</description>
    <link>https://dev.to/mykola_balianytsia_4522a6</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%2F1025562%2F04d5a6de-cce8-49fe-b886-3d6b85220250.png</url>
      <title>DEV Community: Nick Balyanitsa</title>
      <link>https://dev.to/mykola_balianytsia_4522a6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mykola_balianytsia_4522a6"/>
    <language>en</language>
    <item>
      <title>Space Frontier Game</title>
      <dc:creator>Nick Balyanitsa</dc:creator>
      <pubDate>Sun, 12 Feb 2023 22:14:18 +0000</pubDate>
      <link>https://dev.to/mykola_balianytsia_4522a6/space-frontier-game-5hd7</link>
      <guid>https://dev.to/mykola_balianytsia_4522a6/space-frontier-game-5hd7</guid>
      <description>&lt;h2&gt;
  
  
  ABOUT THE GAME
&lt;/h2&gt;

&lt;p&gt;Space Frontier is a game about building a thriving sci-fi settlement. &lt;/p&gt;

&lt;p&gt;The main goal of the player is to create a robust infrastructure, which would allow the settlement to thrive and ultimately reward the player. &lt;/p&gt;

&lt;p&gt;This is done by forming strong relations with NPCs (role-playing aspect) and maintain and manage the city layout (city builder aspect).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flgj98ei6ixgn62czleho.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flgj98ei6ixgn62czleho.jpeg" alt="City Building View" width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fly7kd6vfesuhr07jjspw.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fly7kd6vfesuhr07jjspw.jpeg" alt="Dialog view" width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspirations
&lt;/h2&gt;

&lt;p&gt;The idea came from a mix of old-school 'sierra' city builders and 90-00's RPGs (like fallout2 and NVN). &lt;/p&gt;

&lt;p&gt;The core loop could be defined by the following statements:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;collect daily rewards from the buildings.&lt;/li&gt;
&lt;li&gt;hire agents.&lt;/li&gt;
&lt;li&gt;wait for them to offer help (this happens over time, in a form of a quest/dialogue)&lt;/li&gt;
&lt;li&gt;use these agents+rewards to fix deteriorated buildings and create new ones.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The very basic version of it is implemented in current version, but there are tons of ideas that didn't make it yet.. e.g.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;not only fix but improve builings.&lt;/li&gt;
&lt;li&gt;have your agents progress (every job done gives XP, essentially making them more efficient and 'unlocking' better quests). Since Agents are NFTs this essentially means upgrading the tokens.&lt;/li&gt;
&lt;li&gt;symbiotic placement - correctly placed buildings in proximity creates a positive (or negative) effect on daily reward yield.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The above can be considered as my personal roadmap :)&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech
&lt;/h2&gt;

&lt;p&gt;Obviously the client is WebGL Unity app, that uses ThirdWeb gaming SDK.&lt;/p&gt;

&lt;p&gt;The backend is a node express app, with a combination of off-chain and on-chain data.&lt;/p&gt;

&lt;p&gt;Off-chain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In order to not make the client to sign every transaction, the &lt;strong&gt;game balance&lt;/strong&gt; is currently stored off-chain. This balance can be withdrawn to your wallet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Quest allocation&lt;/strong&gt; is also calculated, assigned and stored off-chain. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reward calculation&lt;/strong&gt; is calculated and assigned offchain.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On-chain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The main on-chain integration is NPC's. You buy the NFTs in-game, and they appear in your city as NPC's that are linked to the quests that are generated over time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Important note:&lt;br&gt;
Given the turn based nature of the game, it was designed with having most of it on chain. This means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;every turn is a transaction signed by the user.&lt;/li&gt;
&lt;li&gt;quest allocation and taxation are contracts that are executed through a cross contract call, within 'turn' the transaction.&lt;/li&gt;
&lt;li&gt;game balance is managed by custodial wallets, (allowing to seamlessly use it, without signing a tx every time you want to do something, but leveraging the security of blockchain).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once again, this is the likely roadmap for the tech part!&lt;/p&gt;

&lt;h2&gt;
  
  
  TEAM
&lt;/h2&gt;

&lt;p&gt;I'm a game developer with embarrassingly big number of years of professional experience in the field. Have been involved in a multitude projects with massive user base. Recently I started to be heavily involved with blockchain with a multitude of tech, both EVM and WASM.&lt;/p&gt;

</description>
      <category>vibecoding</category>
      <category>experimental</category>
      <category>sounddesign</category>
    </item>
  </channel>
</rss>
