Life game

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Play Conway's Game of Life.

Life game rule:
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

1...Live
0...Dead

Set cells and output next generation.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

011
011

Sample output:

011
011

Sample input:_

01101
10100
00011

Sample output:

01110
00101
00010

Sample input:_

011001101
100000110
111101100
000011000

Sample output:

010001100
100110000
111100010
011111100

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1nooodl(fsystem)630.05722011/11/04 05:47:402B / ?B / ?B
2fsystem700.10342007/11/06 23:16:260B / ?B / ?B
3yowa(e)730.07022007/09/11 18:38:140B / 38B / 34B

Perl _

RankUserSizeTimeDateStatistics
1ott(embed)750.10842007/07/28 04:15:502B / 33B / 37B
2ott(embed)720.03962008/01/06 02:12:332B / 31B / 36B

Python _

RankUserSizeTimeDateStatistics
1hiro.suzuki880.31902007/06/18 18:32:180B / 58B / 25B
2kt3k880.34922007/06/19 23:28:360B / 55B / 28B
3hirose950.34762007/06/20 19:27:090B / 73B / 21B
4Mark Byers870.33752007/08/11 19:51:130B / 53B / 29B

PHP _

RankUserSizeTimeDateStatistics
1o-cn810.05952009/12/11 12:15:2833B / ?B / ?B
2pooq990.39502008/11/16 22:03:360B / 69B / 24B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr1170.58112008/08/15 18:57:490B / 69B / 33B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima(embed)940.36852007/06/18 10:53:350B / 52B / 34B

Arc _

RankUserSizeTimeDateStatistics
1pooq10411.13212009/10/07 07:31:330B / 80B / 15B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr942.53862008/07/06 22:23:220B / 67B / 19B
2pooq992.58962008/06/25 13:05:190B / 79B / 13B

JavaScript _

RankUserSizeTimeDateStatistics
1nn900.10382008/06/19 23:05:110B / 57B / 32B
2murky-satyr980.04872007/09/09 15:16:380B / 63B / 34B
3Tomac2740.00732011/09/27 23:37:590B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1pooq1050.12842008/11/22 12:34:380B / 71B / 29B
2GreyKnight3890.05152012/01/06 00:49:542B / 208B / 124B

Cyan _

RankUserSizeTimeDateStatistics
1pooq12012.97192008/11/09 21:13:410B / 87B / 33B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1010.43632008/07/06 21:57:490B / 64B / 29B

BASIC _

RankUserSizeTimeDateStatistics
1poop1100.04842007/09/09 23:47:510B / 76B / 21B

Perl6 _

RankUserSizeTimeDateStatistics
1pooq826.52822010/08/10 23:31:060B / 64B / 12B

J _

RankUserSizeTimeDateStatistics
1pooq950.85992007/07/26 12:32:530B / 35B / 57B
2I., S.(Ewart SHAW's signature)550.08422011/10/30 00:22:190B / 14B / 41B
3I., S.630.11852011/02/26 18:14:390B / 22B / 38B
4pooq740.27922008/09/14 18:02:190B / 38B / 28B

C _

RankUserSizeTimeDateStatistics
151b(embed)1170.08752007/06/18 22:35:330B / 84B / 33B
251b1520.06672007/07/15 22:27:410B / 79B / 73B
3inaniwa(based on 51b(embed))1050.05812009/10/27 08:40:470B / ?B / ?B
4Raider1210.07322009/04/16 06:35:232B / ?B / ?B
551b1390.04852008/02/14 22:03:150B / 73B / 66B
6inaniwa4420.00082009/12/21 08:41:3717B / 150B / 169B

D _

RankUserSizeTimeDateStatistics
151b(embed)1280.08762008/01/06 03:55:320B / 98B / 22B
251b1410.06562008/01/06 03:33:160B / 86B / 51B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1080.20822009/07/23 23:04:220B / 80B / 21B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa(embed)1210.24382007/06/18 19:40:220B / 84B / 37B

Pascal _

RankUserSizeTimeDateStatistics
1pooq1290.02962009/01/25 12:52:570B / 99B / 20B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq1000.34612011/12/22 21:46:380B / 76B / 17B

AWK _

RankUserSizeTimeDateStatistics
1mitchs (nn)910.03752014/09/30 09:59:230B / 68B / 23B
2nn950.05942008/07/11 19:35:310B / 71B / 24B
3nn(embed)960.06502008/06/25 18:52:020B / 80B / 14B

sed _

RankUserSizeTimeDateStatistics
1eban790.05212007/07/26 12:42:590B / 66B / 10B

jq _

RankUserSizeTimeDateStatistics
1pooq830.02622019/08/07 04:50:460B / ?B / ?B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(embed)(bin)730.88692007/06/18 16:55:5622B / 26B / 24B
2yshl(embed)1190.87642007/06/18 17:04:420B / 82B / 21B

R _

RankUserSizeTimeDateStatistics
1pooq923.63942008/06/25 13:56:310B / 69B / 17B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious440.27762008/01/01 14:57:068B / 18B / 14B

gs2 _

RankUserSizeTimeDateStatistics
1whio270.29322017/02/15 06:50:2313B / 7B / 7B
2nooodl290.23822014/09/22 05:25:4217B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1nn1350.85902009/10/20 23:01:070B / 89B / 39B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr580.38972008/09/16 13:35:120B / 30B / 25B

Groovy _

RankUserSizeTimeDateStatistics
1nn939.34732009/04/21 20:45:500B / 58B / 34B
2nn(embed)9411.84932008/06/14 23:25:560B / 58B / 34B

Scala _

RankUserSizeTimeDateStatistics
1pooq10610.14902011/02/26 00:50:340B / 84B / 22B

Language Ranking_

RankLangUserSizeScore
1gs2whio2710000
2GolfScriptflagitious446136
3JI., S.(Ewart SHAW's signature)554909
4gorubymurky-satyr584655
5Rubynooodl(fsystem)634285
6Perlott(embed)723750
7Postscriptyshl(embed)(bin)733698
8sedeban793417
9PHPo-cn813333
10Perl6pooq823292
11jqpooq833253
12PythonMark Byers873103
13JavaScriptnn903000
14AWKmitchs (nn)912967
15Rpooq922934
16Groovynn932903
17Common LISPkozima(embed)942872
18Iomurky-satyr942872
19Asymptotepooq1002700
20Smalltalkmurky-satyr1012673
21Arcpooq1042596
22Luapooq1052571
23Cinaniwa(based on 51b(embed))1052571
24Scalapooq1062547
25OCamlksk1082500
26BASICpoop1102454
27Schememurky-satyr1172307
28Cyanpooq1202250
29Haskellnotogawa(embed)1212231
30D51b(embed)1282109
31Pascalpooq1292093
32Vimnn1352000

Referer

Note that, they may contain spoilers.

return to the top page