Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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/projects.html" class="menu-button secondary">Projects</a>
  27. <a href="/pages/about.html" class="menu-button secondary">About</a>
  28. </div>
  29. </div>
  30. </nav>
  31. <!-- End Nav -->
  32. <!-- Main Page Content and Sidebar -->
  33. <div class="row">
  34. <!-- Main Blog Content -->
  35. <div class="large-9 columns">
  36. <article>
  37. <header>
  38. <h3 class="article-title"><a href="http://opengamestudio.org/mahjong-demo2.html" rel="bookmark"
  39. title="Permalink to OGS Mahjong 2: Demo 2">OGS Mahjong 2: Demo 2</a></h3>
  40. </header>
  41. <h6 class="subheader" title="2018-10-02T00:00:00+03:00">Вт 02 октября 2018
  42. <a class="button secondary small translation-button" href="http://opengamestudio.org/mahjong-demo2-ru.html">ru</a>
  43. </h6> <p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p>
  44. <p>We are glad to announce the release of the second demonstration of OGS Mahjong 2.
  45. The purposes of this release were to refine our development techniques and
  46. build a solid cross-platform foundation.</p>
  47. <p><strong>Release</strong></p>
  48. <p>Run the latest version of OGS Mahjong 2 in your web browser:
  49. <a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p>
  50. <p>You are encouraged to run the game with <code>seed</code> parameter like this:
  51. <a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p>
  52. <p>This allows you to play the same layout each time you launch the game.</p>
  53. <p>Each seed uniquely identifies the placement of tiles. Thus, different seeds
  54. give you a different experience.</p>
  55. <p><strong>Development techniques and foundation</strong></p>
  56. <p>During the second demonstration development, we switched from standard
  57. development to <a href="http://opengamestudio.org/example-driven-development.html">example-driven one</a>. This resulted in the
  58. creation of three distinct repositories to back the development of OGS Mahjong 2:</p>
  59. <ul>
  60. <li><a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">OpenSceneGraph cross-platform examples</a> repository provides cross-platform foundation like resource handling, render window setup, etc.</li>
  61. <li><a href="https://github.com/OGStudio/ogs-mahjong-components">OGS Mahjong components</a> repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.</li>
  62. <li><a href="https://bitbucket.org/ogstudio-games/ogs-mahjong">OGS Mahjong</a> repository contains snapshots of <code>OGS Mahjong components</code> features that comprise specific game version. E.g., <code>Demo 2</code> version is almost identical to <a href="https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus">05.ColorfulStatus</a> example of <code>OGS Mahjong components</code>.</li>
  63. </ul>
  64. <p><strong>Beyond Mahjong solitaire</strong></p>
  65. <p>In addition to <code>seed</code> parameter, you can let the game use remote layout hosted at GitHub:
  66. <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>
  67. <p>Utilizing remote resources is an extremely powerful approach allowing anyone
  68. to create a layout of his/her choice and see the layout in action instantly.</p>
  69. <p>Our next step is to turn game logic into a resource, too.</p>
  70. <p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  71. </p>
  72. </article>
  73. </div>
  74. <!-- End Main Content -->
  75. <!-- Sidebar -->
  76. <aside class="large-3 columns">
  77. <!--k
  78. <h5 class="sidebar-title">Site</h5>
  79. <ul class="side-nav">
  80. <li><a href="http://opengamestudio.org/archives.html">Archives</a>
  81. <li><a href="http://opengamestudio.org/tags.html">Tags</a>
  82. <li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
  83. </ul>
  84. <h5 class="sidebar-title">Categories</h5>
  85. <ul class="side-nav">
  86. <li><a href="http://opengamestudio.org/category/news.html">News</a></li>
  87. </ul>
  88. -->
  89. <h5 class="sidebar-title">Ads</h5>
  90. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  91. <!-- ogs2 -->
  92. <ins class="adsbygoogle"
  93. style="display:block"
  94. data-ad-client="ca-pub-4473792248813084"
  95. data-ad-slot="9024247127"
  96. data-ad-format="auto"></ins>
  97. <script>
  98. (adsbygoogle = window.adsbygoogle || []).push({});
  99. </script>
  100. </aside> <!-- End Sidebar -->
  101. </div> <!-- End Main Content and Sidebar -->
  102. <!-- Footer -->
  103. <footer class="row">
  104. <div class="large-12 columns">
  105. <hr />
  106. <div class="row">
  107. <div class="large-7 columns">
  108. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  109. </div>
  110. </div>
  111. </div>
  112. <script type="text/javascript">
  113. var _gaq = _gaq || [];
  114. _gaq.push(['_setAccount', 'UA-3773114-1']);
  115. _gaq.push(['_trackPageview']);
  116. (function() {
  117. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  118. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  119. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  120. })();
  121. </script>
  122. </footer>