5 * Description: Ancient Chinese puzzle game that never gets old.
7 * Author: Holger Froese
9 use Friendica\Core\Hook;
11 function mahjongg_install() {
12 Hook::register('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
15 function mahjongg_uninstall() {
16 Hook::unregister('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
20 function mahjongg_app_menu($a,&$b) {
21 $b['app_menu'][] = '<div class="app-title"><a href="mahjongg">Mahjongg</a></div>';
25 function mahjongg_module() {}
27 function mahjongg_content(&$a) {
32 <embed src="addon/mahjongg/mahjongg.swf" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="mahjongg" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
34 <b>Simply locate the matching tiles and find a way to clear them from the board as quickly as possible.
35 A timer at the top of the screen keeps track of how you are doing.</b><br>