=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; } }} $a->strings['Three Dimensional Tic-Tac-Toe'] = 'Trójwymiarowe Kółko i Krzyżyk'; $a->strings['3D Tic-Tac-Toe'] = '3D Kółko i Krzyżyk'; $a->strings['New game'] = 'Nowa gra'; $a->strings['New game with handicap'] = 'Nowa gra z handicapem'; $a->strings['Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. '] = 'Zasady gry w Trójwymiarowe Kółko i Krzyżyk są takie same jak w tradycyjnej grze, z tym wyjątkiem, że gra się na wielu poziomach jednocześnie.'; $a->strings['In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels.'] = 'W tym przypadku istnieją trzy poziomy. Wygrywasz, jeśli ustawisz trzy znaki w rzędzie na dowolnym poziomie, a także w górę, w dół i po przekątnej na różnych poziomach.'; $a->strings['The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage.'] = 'Gra z handicapem wyłącza środkową pozycję na środkowym poziomie, ponieważ gracz zdobywający ten kwadrat często ma nieuczciwą przewagę.'; $a->strings['You go first...'] = 'Rozpocznij pierwszy...'; $a->strings['I\'m going first this time...'] = 'Tym razem rozpoczynam pierwszy...'; $a->strings['You won!'] = 'Wygrałeś!'; $a->strings['"Cat" game!'] = 'Gra "Kot"!'; $a->strings['I won!'] = 'Wygrałem!';