Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 10 Monaten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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-gui.html">"Memory" GUI</a>
  35. </h2>
  36. <p class="news_item_date">
  37. 2024-07-04 00:00
  38. </p>
  39. <div class="news_item_contents">
  40. <h1 id="memorygui">"Memory" GUI</h1>
  41. <p>In June I implemented GUI for "Memory" game in Python with the help of
  42. <a href="https://arcade.academy">Python Arcade</a>.</p>
  43. <p>While searching for the most convenient tool to create resources (assets), I found
  44. notebooks lined with graph paper to work the best:</p>
  45. <p><img src="../../images/2024_memory-gui_notebook.jpg" alt="Texture of a notebook" /></p>
  46. <p>To see the portable code architecture in real life, I participated in the 3-day long
  47. gamejam of <a href="https://dtf.ru/games/2783053-nachni-igru-ocenka-videorolikov">"Start the game"</a>. "Memory" game was used with a customized look to satisfy jam requirements.</p>
  48. <p>Here's how the customized version looks like (<a href="https://ims.cr5.space/app/p/4FvJS4fk/Вредные-продукты/about">Windows64 build</a>):. . .</p>
  49. </div>
  50. <div class="news_item_more">
  51. <a href="memory-gui.html">Continue reading</a>
  52. </div>
  53. </div>
  54. <div class="news_item">
  55. <h2 class="news_item_title">
  56. <a href="memory-text-ui.html">"Memory" text UI</a>
  57. </h2>
  58. <p class="news_item_date">
  59. 2024-06-14 00:00
  60. </p>
  61. <div class="news_item_contents">
  62. <h1 id="memorytextui">"Memory" text UI</h1>
  63. <p>In May I implemented text UI for "Memory" game in Python. And converted it to C++
  64. by the instrument under development.</p>
  65. <p>Game logic cycle implementation lead to the creation of a controller that manages
  66. context. Creating the controller in Python was straightforward. C++ version took
  67. some time, because the controller needs <a href="https://en.cppreference.com/w/cpp/utility/any">std::any</a>, which is part of C++17.
  68. The instrument under development is limited to C++11 in order to support OpenWrt.</p>
  69. <p>Here's how much code I wrote (in lines):. . .</p>
  70. </div>
  71. <div class="news_item_more">
  72. <a href="memory-text-ui.html">Continue reading</a>
  73. </div>
  74. </div>
  75. <div class="news_item">
  76. <h2 class="news_item_title">
  77. <a href="memory-logic.html">"Memory" game logic</a>
  78. </h2>
  79. <p class="news_item_date">
  80. 2024-05-03 00:00
  81. </p>
  82. <div class="news_item_contents">
  83. <h1 id="memorygamelogic">"Memory" game logic</h1>
  84. <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>
  85. <p>Limited language model assumes the following architecture of two parts:</p>
  86. <ol>
  87. <li>state context</li>
  88. <li>pure functions without side effects working only with the context</li>
  89. </ol>
  90. <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>
  91. <p>```python
  92. class memory_Context:
  93. def <strong>init</strong>(self):
  94. self.hiddenItems = []. . .</p>
  95. </div>
  96. <div class="news_item_more">
  97. <a href="memory-logic.html">Continue reading</a>
  98. </div>
  99. </div>
  100. <div class="news_item">
  101. <h2 class="news_item_title">
  102. <a href="llm-first-py-cxx.html">The first example of a portable code</a>
  103. </h2>
  104. <p class="news_item_date">
  105. 2024-04-11 00:00
  106. </p>
  107. <div class="news_item_contents">
  108. <h1 id="supportedplatforms">Supported platforms</h1>
  109. <p>To verify code portability, I selected the following platforms and languages:</p>
  110. <ul>
  111. <li>C++: Linux, macOS, OpenWrt, Windows</li>
  112. <li>JavaScript: Chrome, Firefox, Safari</li>
  113. <li>Kotlin: Android</li>
  114. <li>Python: Linux, macOS, Windows</li>
  115. <li>Swift: iOS, macOS</li>
  116. </ul>
  117. <p>I created a simple "Hello World" example for each language to understand the basic requirements of each platform.</p>
  118. <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>
  119. </div>
  120. <div class="news_item_more">
  121. <a href="llm-first-py-cxx.html">Continue reading</a>
  122. </div>
  123. </div>
  124. <div class="news_item">
  125. <h2 class="news_item_title">
  126. <a href="bus-iOS.html">Шина-iOS</a>
  127. </h2>
  128. <p class="news_item_date">
  129. 2024-03-10 00:00
  130. </p>
  131. <div class="news_item_contents">
  132. <h1 id="thefirstbuspatternimplementationforios">The first Bus pattern implementation for iOS</h1>
  133. <p>I spent January and February making Bus pattern implementation in Swift for iOS.
  134. The end result looks nice to me.</p>
  135. <p>I have also done load testing. Turns out, the Bus is 92 times more expensive
  136. than a function call. Nonetheless, this doesn't mean the Bus is bad. On the
  137. contrary, the numbers highlight the Bus should be used in architectural
  138. glue code where it can save up to 30% of code</p>
  139. <p>This example demonstrates several states rendered through a single instance:. . .</p>
  140. </div>
  141. <div class="news_item_more">
  142. <a href="bus-iOS.html">Continue reading</a>
  143. </div>
  144. </div>
  145. <div class="news_item">
  146. <h2 class="news_item_title">
  147. <a href="bus-01.html">Bus-01</a>
  148. </h2>
  149. <p class="news_item_date">
  150. 2024-01-04 00:00
  151. </p>
  152. <div class="news_item_contents">
  153. <h1 id="onthewaytoportablecode">On the way to portable code</h1>
  154. <p>To gain code portability, we have to divide whole code into two parts:</p>
  155. <ul>
  156. <li>repeatable: logic</li>
  157. <li>unique: environment</li>
  158. </ul>
  159. <p>To simplify portable code construction, we want to be able to place any code -
  160. both repeatable and unique - without hierarchy requirements of operating
  161. systems. Bus design pattern seems to be the best option. The Bus makes all
  162. code chunks equal because they interact through the Bus only.</p>
  163. <h1 id="bus01">Bus-01</h1>
  164. <p>Currently we have:</p>
  165. <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>
  166. <p>. . .</p>
  167. </div>
  168. <div class="news_item_more">
  169. <a href="bus-01.html">Continue reading</a>
  170. </div>
  171. </div>
  172. <div class="news_item">
  173. <h2 class="news_item_title">
  174. <a href="rpg-ends.html">Revised project goals</a>
  175. </h2>
  176. <p class="news_item_date">
  177. 2023-12-25 00:00
  178. </p>
  179. <div class="news_item_contents">
  180. <h1 id="thedreamofanopensourcerpgisover">The dream of an open source RPG is over</h1>
  181. <p>In 2005 the Opensource Game Studio project started
  182. 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
  183. to create "the first competitive open free game".
  184. In 2011 right after releasing OGS Mahjong 0.7 we have already
  185. 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>
  186. <p>In 2011 we had a dream that we as a team would grow, which could decrease
  187. 540 years to someting reasonable. However today in the end of 2023 it's clear
  188. <strong>we are unable to create RPG</strong>.. . .</p>
  189. </div>
  190. <div class="news_item_more">
  191. <a href="rpg-ends.html">Continue reading</a>
  192. </div>
  193. </div>
  194. <div class="news_item">
  195. <h2 class="news_item_title">
  196. <a href="gitjs-intro.html">How I create browser applications inside browsers</a>
  197. </h2>
  198. <p class="news_item_date">
  199. 2021-01-28 00:00
  200. </p>
  201. <div class="news_item_contents">
  202. <p><img src="../../images/2021_gitjs-intro_снимок.jpg" alt="GitJS" /></p>
  203. <p>In this article Michael shares his experience of creating durable applications.</p>
  204. <p>In 2013 Canonical <a href="https://techcrunch.com/2013/08/22/edge-crowdfunding-fail">tried to crowdfund Ubuntu Edge smartphone</a>.
  205. Its main feature could be the ability to use the smartphone as a full-fledged
  206. PС. Unfortunatly, the crowdfunding campaign did not accumulate enough money,
  207. so a dream of having a universal device remained to be the dream.</p>
  208. <p>I've been searching for universality, too, on the software side,
  209. not the hardware one. Today I can confidently say I found the necessary. . .</p>
  210. </div>
  211. <div class="news_item_more">
  212. <a href="gitjs-intro.html">Continue reading</a>
  213. </div>
  214. </div>
  215. <div class="news_item">
  216. <h2 class="news_item_title">
  217. <a href="git-budget.html">Why I keep track of spendings in a personal app made with Git+JS</a>
  218. </h2>
  219. <p class="news_item_date">
  220. 2020-05-03 00:00
  221. </p>
  222. <div class="news_item_contents">
  223. <p><img src="../../images/2020-05-06_гит-бюджет_снимок.png" alt="GitBudget" /></p>
  224. <p>In this article Michael shares his experience of using Git+JS.</p>
  225. <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>
  226. <ol>
  227. <li>Why keep track of spendings in an application?</li>
  228. <li>Why did I create the application as a personal project?</li>
  229. <li>Why does the project use Git+JS?</li>
  230. </ol>
  231. <p><strong>1. Why keep track of spendings in an application?</strong></p>
  232. <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>
  233. </div>
  234. <div class="news_item_more">
  235. <a href="git-budget.html">Continue reading</a>
  236. </div>
  237. </div>
  238. <p class="pagination_title">Page 1 of 8</p>
  239. <p>
  240. <a href="index2.html">Older »</a>
  241. </p>
  242. <div id="footer">
  243. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  244. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  245. </div>
  246. </center>
  247. </body>
  248. </html>