Search found 9 matches

by Alkazar
11 May 2018, 00:46
Forum: Annonces officielles [fr]
Topic: Statut du serveur BGA
Replies: 10
Views: 4565

Re: Statut du serveur BGA

Y a-t-il une option pour afficher le français sans écriture inclusive ? Oui je seconde cette demande, si encore je peux comprendre le principe de féminiser les professions et d'utiliser la double flexion dans des textes officiels, j'ai une sainte horreur du point médian. Personnellement, je n'aime ...
by Alkazar
15 April 2013, 13:28
Forum: Developers
Topic: mysql_deadlock_restart_transaction
Replies: 2
Views: 10961

Re: mysql_deadlock_restart_transaction

Is your table InnoDb or MyIsam(not sure what is the default) ? If it's not, it should be Innodb. In InnoDb, a deadlock happens if a user 1 locks a row X in table A , user 2 locks a row Y in table B(could be the same table) and then 1 tries to get a lock on row Y of table B (no deadlock yet), and 2 t...
by Alkazar
10 April 2013, 10:45
Forum: Developers
Topic: Game action cannot return any data ?
Replies: 3
Views: 2721

Re: Game action cannot return any data ?

I see two ways of doing this : using two games states, and notifications. Using two game states with a cancel action is not that complicated : For example here is what's in my game.php : function Cancel () { self::checkAction('Cancel'); $sql="UPDATE pieces set is_selected=null where is_selected...
by Alkazar
28 March 2013, 08:57
Forum: Developers
Topic: state transitions
Replies: 6
Views: 2990

Re: state transitions

There are two types of states : player (or action) states, and game states.
Modifying the active player cannot be made during the player state , and you have to use a special state (or game state) to be able to do this modification.

Why don't you want to use two states, any particular reason ?
by Alkazar
06 March 2013, 17:25
Forum: Developers
Topic: Eliminate a player : zombie or not zombie
Replies: 4
Views: 2836

Re: Eliminate a player : zombie or not zombie

Well : yes and no :).

Now I know zombie mode is not the solution, since the game doesn't count for statistics (and the expelled player is penalized).

The problem is now to devise a solution for eliminated players.

The problem is that they will have to stay in the game even though they have lost.
by Alkazar
06 March 2013, 17:18
Forum: Developers
Topic: Accessing to gamestate args from php side
Replies: 3
Views: 2550

Re: Accessing to gamestate args from php side

Well it is what I'm already doing but as I was trying to optimize my code I thought it was a pity to call functions like "calculate possible moves" twice.
by Alkazar
06 March 2013, 17:09
Forum: Developers
Topic: Accessing to gamestate args from php side
Replies: 3
Views: 2550

Accessing to gamestate args from php side

Hello,
Is there a way to access gamestate args array from the php side ? Just in order to avoid unnecessary calls to some functions already called to calculate the args.
I've tried this-> gamestate->state_args but as it is defined as private ...
by Alkazar
06 March 2013, 14:28
Forum: Developers
Topic: Eliminate a player : zombie or not zombie
Replies: 4
Views: 2836

Eliminate a player : zombie or not zombie

Hi, I'm currently working on Dxxxxi and it's going quite well (I would say that 70% of the game is more or less ok even if I know the last 30% are going to be the most difficult :) ), I'm having some questions, the first one being what to do with a player who is definitively eliminated from the game...
by Alkazar
22 February 2012, 16:16
Forum: Annonces officielles [fr]
Topic: L'Année du Dragon
Replies: 2
Views: 1799

Re: L'Année du Dragon

Euh Stefan Feld il a pas fait Puerto Rico, l'auteur de Puerto Rico c'est Andreas Seyfarth :)
C'est même ce qui est indiqué sur BGA :D

Go to advanced search