Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

mahjong-demo2.html 4.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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/mahjong-demo2.html">EN</a>
  14. <a href="../../ru/news/mahjong-demo2.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>In the news...</h1>
  32. <div class="news_item">
  33. <h2 class="news_item_title">
  34. <a href="mahjong-demo2.html">OGS Mahjong 2: Demo 2</a>
  35. </h2>
  36. <p class="news_item_date">
  37. 2018-10-02 00:00
  38. </p>
  39. <div class="news_item_contents">
  40. <p><img src="../../images/2018-10-02-mahjong-demo2.png" alt="Start of a Mahjong party" /></p>
  41. <p>We are glad to announce the release of the second demonstration of OGS Mahjong 2. The purposes of this release were to refine our development techniques and build a solid cross-platform foundation.</p>
  42. <p><strong>Release</strong></p>
  43. <p>Run the latest version of OGS Mahjong 2 in your web browser: <a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p>
  44. <p>You are encouraged to run the game with <code>seed</code> parameter like this: <a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p>
  45. <p>This allows you to play the same layout each time you launch the game.</p>
  46. <p>Each seed uniquely identifies the placement of tiles. Thus, different seeds give you a different experience.</p>
  47. <p><strong>Development techniques and foundation</strong></p>
  48. <p>During the second demonstration development, we switched from standard development to <a href="example-driven-development.html">example-driven one</a>. This resulted in the creation of three distinct repositories to back the development of OGS Mahjong 2:</p>
  49. <ul>
  50. <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>
  51. <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>
  52. <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>
  53. </ul>
  54. <p><strong>Beyond Mahjong solitaire</strong></p>
  55. <p>In addition to <code>seed</code> parameter, you can let the game use remote layout hosted at GitHub: <a href="http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout">http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout</a></p>
  56. <p>Utilizing remote resources is an extremely powerful approach allowing anyone to create a layout of his/her choice and see the layout in action instantly.</p>
  57. <p>Our next step is to turn game logic into a resource, too.</p>
  58. </div>
  59. </div>
  60. <div id="footer">
  61. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  62. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  63. The site is hosted by <a href="https://pages.github.com">GitHub Pages</a>.
  64. </div>
  65. </center>
  66. </body>
  67. </html>