|
- <!DOCTYPE html>
- <head>
- <meta charset="utf-8" />
- <!-- Set the viewport width to device width for mobile -->
- <meta name="viewport" content="width=device-width" />
-
- <title>OGS Mahjong 2: Demo 2</title>
-
- <link rel="stylesheet" href="http://opengamestudio.org/theme/css/normalize.css" />
- <link rel="stylesheet" href="http://opengamestudio.org/theme/css/foundation.min.css" />
- <link rel="stylesheet" href="http://opengamestudio.org/theme/css/style.css" />
- <link rel="stylesheet" href="http://opengamestudio.org/theme/css/pygments.css" />
- <script src="http://opengamestudio.org/theme/js/custom.modernizr.js"></script>
-
- <!-- So Firefox can bookmark->"abo this site" -->
- <link href="feeds/all.atom.xml" rel="alternate" title="Opensource Game Studio" type="application/atom+xml">
-
- </head>
-
- <body>
-
- <!-- Nav Bar -->
- <nav>
-
- <!-- Show menu items and pages -->
- <div class="row">
- <div class="large-12 columns top-bar">
- <h1><a href="http://opengamestudio.org">Opensource Game Studio</a></h1>
- </div>
- </div>
- <div class="row top-menu">
- <div class="large-12 columns">
- <a href="/pages/games.html" class="menu-button secondary">Games</a>
- <a href="/pages/education.html" class="menu-button secondary">Education</a>
- <a href="/pages/about.html" class="menu-button secondary">About</a>
-
- </div>
- </div>
- </nav>
- <!-- End Nav -->
-
-
- <!-- Main Page Content and Sidebar -->
- <div class="row">
-
- <!-- Main Blog Content -->
- <div class="large-9 columns">
- <article>
- <header>
- <h3 class="article-title"><a href="http://opengamestudio.org/mahjong-demo2.html" rel="bookmark"
- title="Permalink to OGS Mahjong 2: Demo 2">OGS Mahjong 2: Demo 2</a></h3>
- </header>
-
- <h6 class="subheader" title="2018-10-02T00:00:00+03:00">Вт 02 октября 2018
- <a class="button secondary small translation-button" href="http://opengamestudio.org/mahjong-demo2-ru.html">ru</a>
-
- </h6> <p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p>
- <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>
- <p><strong>Release</strong></p>
- <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>
- <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>
- <p>This allows you to play the same layout each time you launch the game.</p>
- <p>Each seed uniquely identifies the placement of tiles. Thus, different seeds
- give you a different experience.</p>
- <p><strong>Development techniques and foundation</strong></p>
- <p>During the second demonstration development, we switched from standard
- development to <a href="http://opengamestudio.org/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>
- <ul>
- <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>
- <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>
- <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>
- </ul>
- <p><strong>Beyond Mahjong solitaire</strong></p>
- <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>
- <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>
- <p>Our next step is to turn game logic into a resource, too.</p>
- <p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
-
- </p>
-
-
-
- </article>
- </div>
- <!-- End Main Content -->
-
- <!-- Sidebar -->
- <aside class="large-3 columns">
- <!--k
- <h5 class="sidebar-title">Site</h5>
- <ul class="side-nav">
- <li><a href="http://opengamestudio.org/archives.html">Archives</a>
- <li><a href="http://opengamestudio.org/tags.html">Tags</a>
-
-
- <li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
- </ul>
-
-
- <h5 class="sidebar-title">Categories</h5>
- <ul class="side-nav">
- <li><a href="http://opengamestudio.org/category/news.html">News</a></li>
-
- </ul>
- -->
-
-
-
-
- <h5 class="sidebar-title">Ads</h5>
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- ogs2 -->
- <ins class="adsbygoogle"
- style="display:block"
- data-ad-client="ca-pub-4473792248813084"
- data-ad-slot="9024247127"
- data-ad-format="auto"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
-
- </aside> <!-- End Sidebar -->
-
- </div> <!-- End Main Content and Sidebar -->
-
-
- <!-- Footer -->
- <footer class="row">
- <div class="large-12 columns">
- <hr />
- <div class="row">
- <div class="large-7 columns">
- <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-3773114-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </footer>
|