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.

155 lines
7.9KB

  1. <!DOCTYPE html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <!-- Set the viewport width to device width for mobile -->
  5. <meta name="viewport" content="width=device-width" />
  6. <title>OGS Mahjong 2: Demo 2</title>
  7. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/normalize.css" />
  8. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/foundation.min.css" />
  9. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/style.css" />
  10. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/pygments.css" />
  11. <script src="http://opengamestudio.org/theme/js/custom.modernizr.js"></script>
  12. <!-- So Firefox can bookmark->"abo this site" -->
  13. <link href="feeds/all.atom.xml" rel="alternate" title="Opensource Game Studio" type="application/atom+xml">
  14. </head>
  15. <body>
  16. <!-- Nav Bar -->
  17. <nav>
  18. <!-- Show menu items and pages -->
  19. <div class="row">
  20. <div class="large-12 columns top-bar">
  21. <h1><a href="http://opengamestudio.org">Opensource Game Studio</a></h1>
  22. </div>
  23. </div>
  24. <div class="row top-menu">
  25. <div class="large-12 columns">
  26. <a href="/pages/games.html" class="menu-button secondary">Games</a>
  27. <a href="/pages/education.html" class="menu-button secondary">Education</a>
  28. <a href="/pages/about.html" class="menu-button secondary">About</a>
  29. </div>
  30. </div>
  31. </nav>
  32. <!-- End Nav -->
  33. <!-- Main Page Content and Sidebar -->
  34. <div class="row">
  35. <!-- Main Blog Content -->
  36. <div class="large-9 columns">
  37. <article>
  38. <header>
  39. <h3 class="article-title"><a href="http://opengamestudio.org/mahjong-demo2-ru.html" rel="bookmark"
  40. title="Permalink to OGS Mahjong 2: Demo 2">OGS Mahjong 2: Demo 2</a></h3>
  41. </header>
  42. <h6 class="subheader" title="2018-10-02T00:00:00+03:00">Вт 02 октября 2018
  43. <a class="button secondary small translation-button" href="http://opengamestudio.org/mahjong-demo2.html">en</a>
  44. </h6> <p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p>
  45. <p>Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были
  46. улучшение техники разработки и создание надёжной основы кроссплатформенной
  47. разработки.</p>
  48. <p><strong>Выпуск</strong></p>
  49. <p>Запустите последний выпуск OGS Mahjong 2 в вашем браузере:
  50. <a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p>
  51. <p>Рекомендуем запускать игру с параметром <code>seed</code> следующим образом:
  52. <a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p>
  53. <p>Это позволяет вам играть в ту же самую раскладку после перезапуска.</p>
  54. <p>Каждое значение зерна (seed) однозначно задаёт расположение фишек, так что
  55. разные значения зерна дают разнообразие партий.</p>
  56. <p><strong>Техника разработки и основа</strong></p>
  57. <p>Во время разработки второй демонстрации мы перешли с обычной разработки на
  58. <a href="http://opengamestudio.org/example-driven-development.html">разработку через создание примеров</a>. Это привело к
  59. появлению трёх различных хранилищ для обеспечения разработки OGS Mahjong 2:</p>
  60. <ul>
  61. <li>Хранилище <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">кроссплатформенных примеров OpenSceneGraph</a> содержит основу вроде работы с ресурсами, создание графического окна и т.д.</li>
  62. <li>Хранилище <a href="https://github.com/OGStudio/ogs-mahjong-components">компонент OGS Mahjong</a> содержит специфичную для Маджонга функциональность вроде разбора раскладки, сопоставления фишек и т.д.</li>
  63. <li>Хранилище <a href="https://bitbucket.org/ogstudio-games/ogs-mahjong">OGS Mahjong</a> содержит снимок набора функциональностей <code>компонент OGS Mahjong</code>, которые определяют версию игры. Например, версия <code>Demo 2</code> почти полностью повторяет пример <a href="https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus">05.ColorfulStatus</a> из <code>компонент OGS Mahjong</code>.</li>
  64. </ul>
  65. <p><strong>За пределами пасьянса Маджонг</strong></p>
  66. <p>В дополнение к параметру <code>seed</code> вы можете указать игре использовать удалённую
  67. раскладку, расположенную на GitHub:
  68. <a href="http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout">http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout</a></p>
  69. <p>Использование удалённых ресурсов открывает огромные возможности, т.к. позволяет
  70. любому желающему создать раскладку на свой вкус и моментально её проверить.</p>
  71. <p>Наш следующий шаг - это выделение игровой логики в виде ресурса.</p>
  72. <p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  73. </p>
  74. </article>
  75. </div>
  76. <!-- End Main Content -->
  77. <!-- Sidebar -->
  78. <aside class="large-3 columns">
  79. <!--k
  80. <h5 class="sidebar-title">Site</h5>
  81. <ul class="side-nav">
  82. <li><a href="http://opengamestudio.org/archives.html">Archives</a>
  83. <li><a href="http://opengamestudio.org/tags.html">Tags</a>
  84. <li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
  85. </ul>
  86. <h5 class="sidebar-title">Categories</h5>
  87. <ul class="side-nav">
  88. <li><a href="http://opengamestudio.org/category/news.html">News</a></li>
  89. </ul>
  90. -->
  91. <h5 class="sidebar-title">Ads</h5>
  92. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  93. <!-- ogs2 -->
  94. <ins class="adsbygoogle"
  95. style="display:block"
  96. data-ad-client="ca-pub-4473792248813084"
  97. data-ad-slot="9024247127"
  98. data-ad-format="auto"></ins>
  99. <script>
  100. (adsbygoogle = window.adsbygoogle || []).push({});
  101. </script>
  102. </aside> <!-- End Sidebar -->
  103. </div> <!-- End Main Content and Sidebar -->
  104. <!-- Footer -->
  105. <footer class="row">
  106. <div class="large-12 columns">
  107. <hr />
  108. <div class="row">
  109. <div class="large-7 columns">
  110. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  111. </div>
  112. </div>
  113. </div>
  114. <script type="text/javascript">
  115. var _gaq = _gaq || [];
  116. _gaq.push(['_setAccount', 'UA-3773114-1']);
  117. _gaq.push(['_trackPageview']);
  118. (function() {
  119. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  120. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  121. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  122. })();
  123. </script>
  124. </footer>