You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

246 lines
11KB

  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <link rel="stylesheet" href="../../style.css">
  6. </head>
  7. <body>
  8. <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
  9. <div id="header">
  10. <div>
  11. <strong id="title">Open Game Studio</strong>
  12. <div id="lang">
  13. <a href="../../en/news/index.html">EN</a>
  14. <a href="../../ru/news/index.html">RU</a>
  15. </div>
  16. </div>
  17. <div class="header2">
  18. <div class="menu">
  19. <a href="../../en/news/index.html">News</a>
  20. <a href="../../en/game/index.html">Games</a>
  21. <a href="../../en/tool/index.html">Tools</a>
  22. <a href="../../en/page/about.html">About</a>
  23. </div>
  24. <a class="discord" href="https://discord.gg/3A6THQabNf">
  25. <img src="../../images/discord.png"></img>
  26. </a>
  27. <div class="clear"></div>
  28. </div>
  29. </div>
  30. <center>
  31. <h1>News</h1>
  32. <div class="news_item">
  33. <h2 class="news_item_title">
  34. <a href="memory-logic.html">"Memory" game logic</a>
  35. </h2>
  36. <p class="news_item_date">
  37. 2024-05-03 00:00
  38. </p>
  39. <div class="news_item_contents">
  40. <h1 id="memorygamelogic">"Memory" game logic</h1>
  41. <p>In April I implemented "Memory" game logic in Python as limited language model and successfully converted the code to C++ by the instrument under development.</p>
  42. <p>Limited language model assumes the following architecture of two parts:</p>
  43. <ol>
  44. <li>state context</li>
  45. <li>pure functions without side effects working only with the context</li>
  46. </ol>
  47. <p>Game logic state context in Python currently looks like this (<a href="https://git.opengamestudio.org/kornerr/research-portable-memory/src/commit/6fcd542daa6242c8c23dddb88d04cda74a730328/v3/memory_Context.h">C++</a>):</p>
  48. <p>```python
  49. class memory_Context:
  50. def <strong>init</strong>(self):
  51. self.hiddenItems = []. . .</p>
  52. </div>
  53. <div class="news_item_more">
  54. <a href="memory-logic.html">Continue reading</a>
  55. </div>
  56. </div>
  57. <div class="news_item">
  58. <h2 class="news_item_title">
  59. <a href="llm-first-py-cxx.html">The first example of a portable code</a>
  60. </h2>
  61. <p class="news_item_date">
  62. 2024-04-11 00:00
  63. </p>
  64. <div class="news_item_contents">
  65. <h1 id="supportedplatforms">Supported platforms</h1>
  66. <p>To verify code portability, I selected the following platforms and languages:</p>
  67. <ul>
  68. <li>C++: Linux, macOS, OpenWrt, Windows</li>
  69. <li>JavaScript: Chrome, Firefox, Safari</li>
  70. <li>Kotlin: Android</li>
  71. <li>Python: Linux, macOS, Windows</li>
  72. <li>Swift: iOS, macOS</li>
  73. </ul>
  74. <p>I created a simple "Hello World" example for each language to understand the basic requirements of each platform.</p>
  75. <p>By the way, OpenWrt turned out the most complex platform to create "Hello World" for, because my TP-Link TL-MR3020 r1 router is considered obsolete since 2018. I had to use the old 17.01.7 firmware, which took about three weeks.. . .</p>
  76. </div>
  77. <div class="news_item_more">
  78. <a href="llm-first-py-cxx.html">Continue reading</a>
  79. </div>
  80. </div>
  81. <div class="news_item">
  82. <h2 class="news_item_title">
  83. <a href="bus-iOS.html">Шина-iOS</a>
  84. </h2>
  85. <p class="news_item_date">
  86. 2024-03-10 00:00
  87. </p>
  88. <div class="news_item_contents">
  89. <h1 id="thefirstbuspatternimplementationforios">The first Bus pattern implementation for iOS</h1>
  90. <p>I spent January and February making Bus pattern implementation in Swift for iOS.
  91. The end result looks nice to me.</p>
  92. <p>I have also done load testing. Turns out, the Bus is 92 times more expensive
  93. than a function call. Nonetheless, this doesn't mean the Bus is bad. On the
  94. contrary, the numbers highlight the Bus should be used in architectural
  95. glue code where it can save up to 30% of code</p>
  96. <p>This example demonstrates several states rendered through a single instance:. . .</p>
  97. </div>
  98. <div class="news_item_more">
  99. <a href="bus-iOS.html">Continue reading</a>
  100. </div>
  101. </div>
  102. <div class="news_item">
  103. <h2 class="news_item_title">
  104. <a href="bus-01.html">Bus-01</a>
  105. </h2>
  106. <p class="news_item_date">
  107. 2024-01-04 00:00
  108. </p>
  109. <div class="news_item_contents">
  110. <h1 id="onthewaytoportablecode">On the way to portable code</h1>
  111. <p>To gain code portability, we have to divide whole code into two parts:</p>
  112. <ul>
  113. <li>repeatable: logic</li>
  114. <li>unique: environment</li>
  115. </ul>
  116. <p>To simplify portable code construction, we want to be able to place any code -
  117. both repeatable and unique - without hierarchy requirements of operating
  118. systems. Bus design pattern seems to be the best option. The Bus makes all
  119. code chunks equal because they interact through the Bus only.</p>
  120. <h1 id="bus01">Bus-01</h1>
  121. <p>Currently we have:</p>
  122. <iframe width="560" height="315" src="https://www.youtube.com/embed/XAlIlG9tVL4?si=5HYRDkNuYE0zeoyo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
  123. <p>. . .</p>
  124. </div>
  125. <div class="news_item_more">
  126. <a href="bus-01.html">Continue reading</a>
  127. </div>
  128. </div>
  129. <div class="news_item">
  130. <h2 class="news_item_title">
  131. <a href="rpg-ends.html">Revised project goals</a>
  132. </h2>
  133. <p class="news_item_date">
  134. 2023-12-25 00:00
  135. </p>
  136. <div class="news_item_contents">
  137. <h1 id="thedreamofanopensourcerpgisover">The dream of an open source RPG is over</h1>
  138. <p>In 2005 the Opensource Game Studio project started
  139. under the name of the <a href="https://www.linuxquestions.org/questions/general-10/the-creation-of-the-best-rpg-355858/">Opensource RPG</a>, because we wanted
  140. to create "the first competitive open free game".
  141. In 2011 right after releasing OGS Mahjong 0.7 we have already
  142. had the numbers that it would take us <a href="https://gamedev.ru/community/ogs/articles/?id=6383">540 years to create RPG</a>.</p>
  143. <p>In 2011 we had a dream that we as a team would grow, which could decrease
  144. 540 years to someting reasonable. However today in the end of 2023 it's clear
  145. <strong>we are unable to create RPG</strong>.. . .</p>
  146. </div>
  147. <div class="news_item_more">
  148. <a href="rpg-ends.html">Continue reading</a>
  149. </div>
  150. </div>
  151. <div class="news_item">
  152. <h2 class="news_item_title">
  153. <a href="gitjs-intro.html">How I create browser applications inside browsers</a>
  154. </h2>
  155. <p class="news_item_date">
  156. 2021-01-28 00:00
  157. </p>
  158. <div class="news_item_contents">
  159. <p><img src="../../images/2021_gitjs-intro_снимок.jpg" alt="GitJS" /></p>
  160. <p>In this article Michael shares his experience of creating durable applications.</p>
  161. <p>In 2013 Canonical <a href="https://techcrunch.com/2013/08/22/edge-crowdfunding-fail">tried to crowdfund Ubuntu Edge smartphone</a>.
  162. Its main feature could be the ability to use the smartphone as a full-fledged
  163. PС. Unfortunatly, the crowdfunding campaign did not accumulate enough money,
  164. so a dream of having a universal device remained to be the dream.</p>
  165. <p>I've been searching for universality, too, on the software side,
  166. not the hardware one. Today I can confidently say I found the necessary. . .</p>
  167. </div>
  168. <div class="news_item_more">
  169. <a href="gitjs-intro.html">Continue reading</a>
  170. </div>
  171. </div>
  172. <div class="news_item">
  173. <h2 class="news_item_title">
  174. <a href="git-budget.html">Why I keep track of spendings in a personal app made with Git+JS</a>
  175. </h2>
  176. <p class="news_item_date">
  177. 2020-05-03 00:00
  178. </p>
  179. <div class="news_item_contents">
  180. <p><img src="../../images/2020-05-06_гит-бюджет_снимок.png" alt="GitBudget" /></p>
  181. <p>In this article Michael shares his experience of using Git+JS.</p>
  182. <p>Hi, folks, let me share my experience of creating an application to keep track of my spendings. Specifically, let me do it by answering the following questions:</p>
  183. <ol>
  184. <li>Why keep track of spendings in an application?</li>
  185. <li>Why did I create the application as a personal project?</li>
  186. <li>Why does the project use Git+JS?</li>
  187. </ol>
  188. <p><strong>1. Why keep track of spendings in an application?</strong></p>
  189. <p>I, like many people out there, wanted to become rich and <a href="https://youtu.be/7RchntYFtSE">successful</a>. To become rich, one is often advised to run a personal budget, that's what I started to do several years ago. I'd like to point out that running my personal budget hasn't made me rich and successful, and I increased income simply by moving to Moscow.. . .</p>
  190. </div>
  191. <div class="news_item_more">
  192. <a href="git-budget.html">Continue reading</a>
  193. </div>
  194. </div>
  195. <div class="news_item">
  196. <h2 class="news_item_title">
  197. <a href="teaching-to-program-2019.html">Teaching folks to program 2019, a.k.a. in the search of an ideal program: Sequence</a>
  198. </h2>
  199. <p class="news_item_date">
  200. 2020-02-12 00:00
  201. </p>
  202. <div class="news_item_contents">
  203. <p><img src="../../images/2020-02-11_teaching-to-program-2019_screenshot.png" alt="MUROM" /></p>
  204. <p>In this article Michael shares his thoughts on teaching folks to program in 2019.</p>
  205. <p><strong>Preface</strong></p>
  206. <p>Autumn 2019 was the third time I participated as one of the teachers in the course to teach 10-15-year-old folks to program. The course took place from mid. September to mid. December. Each Saturday, we were studying from 10 AM to 12 PM. More details about the structure of each class and the game itself can be found in <a href="teaching-kids-to-program.html">the 2018 article</a>.</p>
  207. <p>I have the following goals for conducting such courses:. . .</p>
  208. </div>
  209. <div class="news_item_more">
  210. <a href="teaching-to-program-2019.html">Continue reading</a>
  211. </div>
  212. </div>
  213. <div class="news_item">
  214. <h2 class="news_item_title">
  215. <a href="the-pros-and-cons-of-restarting-from-scratch.html">The pros and cons of restarting from scratch</a>
  216. </h2>
  217. <p class="news_item_date">
  218. 2020-01-01 00:00
  219. </p>
  220. <div class="news_item_contents">
  221. <p><img src="../../images/2020-01-01-ny.jpg" alt="Happy 2020" /></p>
  222. <p>Anyone, who watches our progress long enough, can say that we restarted the development from scratch plenty of times.</p>
  223. <p>Even before releasing <a href="../game/ogs-mahjong-1.html">"OGS Mahjong"</a>, we changed the underlying technology more than once. After that, we did it again several times, throwing away already completed features.
  224. It seems that right now we have less completed features than before the release of <a href="../game/ogs-mahjong-1.html">"OGS Mahjong"</a>. It's true, but not entirely.</p>
  225. <p>When <a href="../game/ogs-mahjong-1.html">"OGS Mahjong"</a> was released, we had a descent looking (for that moment) open-source game, that worked under Windows and Linux. With some luck and effort it still works today, but not out of the box.. . .</p>
  226. </div>
  227. <div class="news_item_more">
  228. <a href="the-pros-and-cons-of-restarting-from-scratch.html">Continue reading</a>
  229. </div>
  230. </div>
  231. <p class="pagination_title">Page 1 of 7</p>
  232. <p>
  233. <a href="index2.html">Older »</a>
  234. </p>
  235. <div id="footer">
  236. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  237. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  238. </div>
  239. </center>
  240. </body>
  241. </html>