Le tetris ci-dessous est un portage du projet Tetris que j'avais créé à l'époque pour former mes élèves BTS IRIS au langage C.
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.
Nom | Score | Date | Adresse | UA |
---|---|---|---|---|
fp | 156 | 17 May 2008 - 17:20 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum obkos | 154 | 20 Mar 2008 - 06:17 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum obkos | 154 | 20 Mar 2008 - 06:17 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum | 141 | 11 Mar 2008 - 07:59 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 140 | 20 Jun 2008 - 10:22 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Maclel | 140 | 27 Jan 2008 - 00:11 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
fp | 139 | 12 Aug 2008 - 16:26 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.4) Java/1.5.0_13 |
fp | 134 | 05 Jun 2008 - 18:54 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 133 | 22 May 2008 - 18:55 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 133 | 12 Jun 2008 - 14:37 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
jacques | 130 | 17 Jan 2009 - 08:35 | 212.234.159.212 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
fp | 130 | 23 Aug 2008 - 17:56 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.4) Java/1.5.0_13 |
fp | 130 | 25 May 2008 - 10:39 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 128 | 02 Apr 2008 - 18:10 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 123 | 07 May 2008 - 16:47 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 123 | 07 May 2008 - 16:47 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 122 | 28 Jul 2008 - 12:23 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 122 | 17 May 2008 - 17:08 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 120 | 20 Mar 2008 - 10:47 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 120 | 28 Jul 2008 - 12:15 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum OBKOS | 119 | 11 Mar 2008 - 09:12 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Jacques | 119 | 12 Dec 2008 - 08:46 | 212.234.159.212 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
Jacques | 119 | 12 Dec 2008 - 08:46 | 212.234.159.212 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
Jacques | 119 | 09 Jan 2009 - 11:24 | 212.234.159.212 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
fp | 118 | 17 May 2008 - 10:26 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 117 | 30 Jan 2008 - 18:57 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 117 | 05 Jul 2008 - 17:09 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Maclel | 115 | 20 Jan 2008 - 23:35 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
bedum OBKOS | 114 | 21 Mar 2008 - 07:09 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
fp | 113 | 26 Jan 2008 - 19:22 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
bedum | 113 | 11 Mar 2008 - 06:58 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Maclel | 113 | 20 Jan 2008 - 21:29 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
fp | 112 | 02 Feb 2008 - 15:33 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
Maclel | 112 | 20 Jan 2008 - 22:47 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
jacques | 111 | 19 Dec 2008 - 09:04 | 212.234.159.212 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
Maclel | 111 | 20 Jan 2008 - 00:34 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
Maclel | 111 | 20 Jan 2008 - 19:16 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
fp | 110 | 27 Jan 2008 - 19:32 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
bedum obkos | 110 | 20 Mar 2008 - 05:33 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
elmahdi | 108 | 02 Aug 2008 - 19:16 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_01 |
Maclel | 108 | 20 Jan 2008 - 19:03 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
fp | 106 | 23 Jan 2008 - 19:48 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
chouchoune | 106 | 11 Mar 2008 - 08:12 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum obkos | 105 | 20 Mar 2008 - 05:22 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Jacques | 105 | 15 Nov 2008 - 17:54 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
tomy IRIS | 104 | 16 Nov 2006 - 20:45 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.5.0_05 |
lol | 104 | 04 Jun 2009 - 14:02 | 129.20.217.66 | Mozilla/4.0 (Linux 2.6.28-11-generic) Java/1.6.0_13 |
fp | 104 | 19 Jan 2008 - 18:31 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
arno | 104 | 26 Mar 2007 - 13:01 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.3.9) Java/1.4.2_12 |
Sébastien | 104 | 21 Jul 2005 - 20:33 | 192.168.40.138 | Mozilla/4.0 (Windows Me 4.90) Java/1.5.0_02 |
fp | 103 | 20 Jan 2008 - 17:54 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 103 | 18 Jan 2008 - 17:50 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
tonio | 102 | 05 Apr 2012 - 18:23 | 82.67.112.53 | Mozilla/4.0 (Mac OS X 10.7.3) Java/1.6.0_29 |
jacques | 102 | 15 Nov 2008 - 08:39 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
jacques | 102 | 17 Oct 2008 - 11:39 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
fp | 102 | 26 Jan 2008 - 10:52 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 102 | 21 Jan 2008 - 16:17 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 102 | 22 Jan 2008 - 11:09 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 102 | 19 Jan 2008 - 19:03 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
Maclel | 102 | 26 Jan 2008 - 23:44 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
Maclel | 102 | 20 Jan 2008 - 18:51 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
jacques | 101 | 07 Oct 2008 - 22:41 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_07 |
jackdevil | 101 | 17 Oct 2008 - 08:32 | 192.168.40.20 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
fp | 101 | 20 Jan 2008 - 18:14 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 101 | 18 Jan 2008 - 17:28 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 101 | 20 Jan 2008 - 17:43 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 101 | 18 Jan 2008 - 17:16 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 101 | 17 Jan 2008 - 16:29 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
bedum | 101 | 11 Mar 2008 - 07:25 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
bedum | 101 | 11 Mar 2008 - 07:25 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.2) Java/1.5.0_13 |
Mag | 101 | 19 Jun 2009 - 09:38 | 213.223.45.188 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_07 |
Mag | 101 | 18 Jun 2009 - 13:26 | 213.223.45.188 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_07 |
Maclel | 101 | 26 Jan 2008 - 23:34 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |
Romain IRIS | 98 | 08 Nov 2006 - 01:26 | 192.168.40.136 | Mozilla/4.0 (Windows XP 5.1) Java/1.5.0_06 |
tonio | 97 | 05 Apr 2012 - 18:10 | 82.67.112.53 | Mozilla/4.0 (Mac OS X 10.7.3) Java/1.6.0_29 |
Pieb | 97 | 02 Aug 2008 - 23:40 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.4.11) Java/1.5.0_13 |
arno | 95 | 01 Mar 2007 - 12:04 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.3.9) Java/1.4.2_12 |
Mag! | 95 | 30 Jun 2009 - 09:34 | 195.115.119.235 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_07 |
carinne1974 | 94 | 07 Jan 2012 - 16:25 | 212.198.165.81 | Mozilla/4.0 (Windows 7 6.1) Java/1.6.0_29 |
mike | 92 | 02 Jan 2011 - 18:46 | 90.28.221.209 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_23 |
fp | 91 | 18 Jan 2008 - 16:59 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
Sylvain | 88 | 18 Jun 2005 - 10:14 | 192.168.40.139 | Mozilla/4.0 (Linux 2.6.8.1-12mdk) Java/1.5.0_02 |
fp | 87 | 19 Jan 2008 - 18:52 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
v3cc | 86 | 14 May 2008 - 17:50 | 192.168.40.20 | Mozilla/4.0 (Windows Vista 6.0) Java/1.6.0_05 |
v3cc | 86 | 14 May 2008 - 17:50 | 192.168.40.136 | Mozilla/4.0 (Windows Vista 6.0) Java/1.6.0_05 |
v3cc | 86 | 14 May 2008 - 17:50 | 192.168.40.136 | Mozilla/4.0 (Windows Vista 6.0) Java/1.6.0_05 |
arno | 86 | 19 Mar 2007 - 17:04 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.3.9) Java/1.4.2_12 |
gide | 84 | 06 Sep 2008 - 08:24 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.4.2_01 |
arno | 84 | 19 Mar 2007 - 12:52 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.3.9) Java/1.4.2_12 |
Zed | 83 | 12 Jan 2007 - 11:07 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.5.0 |
arno | 82 | 21 Mar 2007 - 18:07 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.3.9) Java/1.4.2_12 |
thomas IRIS | 80 | 13 Nov 2006 - 14:38 | 192.168.40.20 | Mozilla/4.0 (Windows 2000 5.0) Java/1.5.0_06 |
fp | 80 | 20 Jan 2008 - 15:54 | 192.168.40.139 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 80 | 20 Jan 2008 - 15:36 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
fp | 80 | 17 Jan 2008 - 12:55 | 192.168.40.136 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
Sylvain et Lola | 80 | 17 Jan 2009 - 11:49 | 91.165.42.142 | Mozilla/4.0 (Windows (unknown) 39891648.-2123155804) Java/1.5.0_17 |
thomas IRIS | 78 | 13 Nov 2006 - 14:15 | 192.168.40.136 | Mozilla/4.0 (Windows 2000 5.0) Java/1.5.0_06 |
mouss | 77 | 29 Jul 2011 - 12:48 | 164.139.7.150 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_06 |
fp | 76 | 17 Jan 2008 - 10:48 | 192.168.40.20 | Mozilla/4.0 (Mac OS X 10.5.1) Java/1.5.0_13 |
Maclel | 76 | 20 Jan 2008 - 21:18 | 192.168.40.139 | Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_03 |