![]() In a limited time, not reinventing the wheel is an important part. But I have limited experience with VueJS. So CRA is the most straight forward way to create a single-page app. If we create games on HTML, SSR is not for games. I am not sure wheter old HTML5 framework I had used (MelonJS) is still usable. It has been almost 3 years since last I wrote an HTML5 game. In production, the game should not be created with HTML/CSS. Mostly due to the limited time, I am using the technical stacks I am familiar with. But I don't think that is the point of requirement) In this POC I am only including managers who run a business The reference game has some special managers who increase profits by 10%. Not to implement special manager functionality user can access the game without login step.Since I assume I can trust local data during POC, there is no need to have a login procedure. Like a reference game, I am saving user ID locally. game is not understandable to first-time users.For now, I assume reviewers and contributors are aware of the requirement. ![]() If I release this POC to real users, I have to implement a tutorial right away. ![]() There is no reason to omit tutorial except limited time. These are some of the decisions I made during development Functions Webgl.js:1 Profit surge on for time results in the venture completing times, earning īusiness prices and profits are increasing linearly.Īfter a few minutes of checking, I found that price and profits are increasing linearly. It seems the game is recalculating idle earned money on game start If I leave the game and comes back this console.log can be viewed. If I clear cache and relead my data clears and game start fresh Reference game doing user identification at the client level If I change the browser tab without closing the reference game tab, the timer stops Reference game saves data every 30 seconds And its unity's default PLayerPrefab saving location. Not sure about recent unity Web build but reference game's indexedDB key name is /idbfs/PlayerPrefs. Probably reference game using the unity web not sending network request even if I buy the business.reference game not sending request if I leave idle.Game not sending network requests on action Researchīy inspecting source game found out few pieces of information (/docs/Game Closure Coding Challenge_ Adventure Capitalist.pdf) Development Process 1. (Businesses continue to make progress while you’re away.) When you close the game, next time you open it, you should see the money that your businesses made for you.Hire managers, so that money is made automatically.you click on a business and in a certain amount of time you get money - see web implementation above.) There should be several business types to choose from. (valid until August 1st 2020) Game Screen
0 Comments
Leave a Reply. |