Le tetris ci-dessous est un portage du tetris java dans le but de découvrir le langage ActionScript.
Les scores sont stockés sur le site dans un fichier tetriscores.txt. PHP est utilisé afin de lire et écrire les scores dans ce fichier.
Pour compiler ce tetris, le plus simple est de télécharger le SDK flex. Puis après avoir mis le répertoire bin dans le PATH :
export PATH=$PATH:/home/user/flex/bin/ cd /home/user/src/tetris mxmlc TetrisMain.as -source-path=/home/user/src/
Concernant la documentation, voici les liens qui m'ont permis de démarrer :
Nom | Score | Date | Adresse | UA |
---|---|---|---|---|
Lola | 98 | 12 May 2013 - 17:26 | 88.122.148.82 | Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 BLNGBAR |
Val ! | 96 | 14 Oct 2014 - 15:28 | 86.65.8.228 | Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36 |
Val\' | 89 | 14 Oct 2014 - 14:20 | 86.65.8.228 | Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36 |
Yoann | 75 | 20 Jun 2010 - 14:23 | 77.198.117.35 | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
Kolymine | 60 | 04 May 2010 - 11:49 | 193.251.7.112 | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
Lölà | 57 | 19 Nov 2012 - 18:32 | 88.122.148.82 | Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 BLNGBAR |
Jean Pierre Daroussin | 57 | 31 Dec 2016 - 11:44 | 46.218.45.157 | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 |
Lola-judokate | 56 | 02 Dec 2012 - 20:49 | 88.122.148.82 | Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 BLNGBAR |
hky | 53 | 23 Dec 2010 - 12:02 | 81.255.175.253 | Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.15) Gecko/20101026 Firefox/3.5.15 ( .NET CLR 3.5.30729) |
Gui | 47 | 08 May 2010 - 03:46 | 24.122.147.142 | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) |
Lola :) | 45 | 11 Sep 2012 - 18:49 | 88.122.148.82 | Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 BLNGBAR |
BigBobsky | 44 | 14 Mar 2012 - 15:11 | 92.103.88.90 | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 |
BigBobsky | 44 | 14 Mar 2012 - 14:59 | 92.103.88.90 | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 |
tom | 41 | 04 Apr 2010 - 19:52 | 90.45.83.3 | Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) |
yep | 35 | 12 Jul 2010 - 16:29 | 85.92.222.254 | Mozilla/4.0 |
Luffy | 34 | 23 Apr 2010 - 22:12 | 84.101.98.133 | Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
lola | 32 | 19 Feb 2012 - 17:07 | 88.122.148.82 | Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 BLNGBAR |
alka | 29 | 02 Jan 2011 - 17:54 | 90.28.221.209 | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 |
Lola ! | 29 | 10 Feb 2012 - 18:49 | 88.122.148.82 | Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 BLNGBAR |
lola | 27 | 11 Feb 2011 - 18:10 | 88.122.148.82 | Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 |
lola | 25 | 18 Jan 2011 - 19:04 | 88.122.148.82 | Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 |
Fred | 23 | 20 Aug 2012 - 16:52 | 93.20.29.3 | Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20100101 Firefox/14.0.1 |
Fanfan | 23 | 08 Jan 2010 - 21:45 | 82.252.252.222 | Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) |
Lola | 21 | 05 Jan 2011 - 13:35 | 88.122.148.82 | Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 |
Sylvain | 20 | 08 Jan 2010 - 21:34 | 82.252.252.222 | Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) |
Robert | 7 | 24 Jul 2013 - 21:54 | 90.55.75.214 | Mozilla/5.0 Preparation aux concours des grandes ecoles (Windows NT 6.1; WOW64; rv:22.0; +http://www.prepapeces.com) Gecko/20100101 Firefox/22.0 |
dd | 3 | 03 Sep 2011 - 21:22 | 88.172.238.13 | Mozilla/5.0 (Windows NT 6.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1 |
tamer | 2 | 07 Jan 2010 - 12:04 | 193.5.240.1 | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 |
tamer | 2 | 07 Jan 2010 - 12:04 | 193.5.240.1 | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 |