Aleation

Without explanations

Aleation is a web application that allow several people who can only communicate via the Internet to draw random numbers.

Please note that it's not a game by itself, just a tool to draw numbers while you're in touch with other players by another mean (Internet chat, phone...).

Aleation can help you to play aleago, or even to flip a coin to make a decision.

You can skip this page if you're impatient to begin as some explanations are given at each step.

Start or join a game

Details

Aleation is a very little PHP application that is customisable through 'templates'. This page itself is part of the Aleation software as a template for choosing the language, it's used to welcome new users.

Aleation instances may have different looks, called 'templates'. Players can participate to the same gamed without even watching pages that look the same. Draws would of course be the same though.

The source code is meant to be shared, soon...

Back to top

User Documentation

User names are not protected with passwords, but when a game is started, it is impossible to steal someone's identity.

It's better to always use the same user name as in some 'templates', a list of previous games can be displayed. Then it's easier for someone to find your current game or for you to find old games you played.

The creator of a game chooses the highest number that can be drawn and then gives his fellows the game code (copy-paste) for them to join.

To see who joined the game, everyone refreshes the page (F5 or Ctrl+R).

Once the first number is drawn by the creator of the game, no player can join anymore.

Then you continue to refresh the page to see the draws of the players. When you see a link that informs you that it's your turn, you can draw a number clicking on this link.

If a player ever looses his session (browser crashes, power cut...) he won't be able to join the game again. Anyway, it's quiet easy to restart one.

Back to top

Admin Documentation

This section is devoted to those who will install Aleation themselves, but the code is not public at the moment.

You can choose the default language, the default template and some details about file names for Aleation to use in the 'conf.php' file.

Prefix templates you want to disable with _.

Available languages files are detected in the current template, so try to provide the same language files for all your templates in one Aleation installation to avoid errors.

If only one lang file is found, auto-redirection is done: no choice is left to the player. The same for templates.

Back to top

Template Developper Documentation

Aleation instances may have different looks, called 'templates'. Players can participate to the same gamed without even watching pages that look the same. Draws would of course be the same though.

The 'simple' template is the perfect base to start a new one. The easiest way to create a new template is to copy and rename the 'simple' template, then to edit the files. Each template has its own language strings so you can do whatever you want with them, like adding or removing some lines.

Be sure to provide 'readmes' in all languages. Their first line can be used to describe their purpose when users have to choose a template.

Back to top