Share default-all APP with SMS.


share the default-all app by sending an SMS message
default-all https://jschmidt-systemberatung.de/index.php?option=com_content&view=article&id=292&lang=en&Itemid=198

 

 

Share Content

After download of Zipfile "checkers.zip", unpack (unzip) it into any install-directory. After unpack you will have following dirctories with their files:

  • css - style sheets file
  • images - images of pieces (stones)
  • js - javascript programs
  • Your install directory - HTML-samples for German, Englisch, French and Spanish language,

Check file "strings.json"

This file contains all runtime messages for different languages (now in english, french, german and spanish) in json-format. Here you may add additionall languages or edit message text. But pay attention not to destroy the layout and json format.

Create HTML-pages for the game

To ease this job you should use the samples delivered with the zipfile. Following should be checked:

  1. necessary HTML-tags:
        • <div id="lang" lang="country code"></div> used language (e.g. lang="en")
        • <div id="status"></div> For runtime messages
        • <div id="hints"></div> For hints
        • <div id="images" dir="image directory of checker pieces"></div> This div tag is optional and necessary only if images of pieces cannot be found via relative directory "images" (e. g. as HTML-page is fetched via CMS from a Database)
        • <canvas id="canvas" width="width" height="height"</canvas> Canvas for game board

  2. Script tags
    • checkers game uses jQuery-API, therefore you must ensure that the jquery librrary (e.g. "jquery.min.js") has been added to your html-page and is accessible. Important: Javascript program "checkers.min.js" has to be defined as last script tag just before </body> Tag. This will ensure that DOM has been initialized and is ready.

  3. How to start/restart game
    • Game may me restarted via reload button of Browser. This may be easy to do but it is much better to do this via a control button (this would reload only application not the entire document). Such a solution is provided with the HTML samples. Implementation (add tiny jquery-script and button) is very simple - Feel free to use it.

Upload of files

Create or use a dirctory (e.g. "html/checkers") for the game in your webserver environment, which is accessibel via browser. Then upload all directories with their files into this directory.


go back ...

Visitors

Today: 15
Yesterday: 22
This Week: 196
Last Week: 262
This Month: 247
Last Month: 1,842
This Year: 23,667
0256260
Germany 32.9% Germany
USA 21.6% USA
France 3.3% France
Italy 2.7% Italy
Indonesia 2.0% Indonesia
Poland 1.9% Poland
Netherlands 1.8% Netherlands

Total:

209

Countries

Weather

Weather in Ashburn

December 8th, 2024 - 20:08
Clear Sky
8°C 6°C min 9°C max
7:17 16:47
Feels Like Temperature:  7°C
;
Humidity:   57%
Wind: 5.5 km/h N
Pressure:   1,017 hPa
Visibility:   not obstructed
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.