Sokoban

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

Solve Sokoban puzzles.

# = wall
@ = player
$ = box
. = goal
* = filled goal

(Puzzles from Sasquatch I (c) 1999 David W. Skinner)

Options

exec is denied

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

Sample input:_

   ###
  ## # ####
 ##  ###  #
## $      #
#   @$ #  #
### $###  #
  #  #..  #
 ## ##.# ##
 #      ##
 #     ##
 #######

Sample output:

   ###
  ## # ####
 ##  ###  #
##        #
#   @  #  #
###  ###  #
  #  #**  #
 ## ##*# ##
 #      ##
 #     ##
 #######

Sample input:_

  ###########
 ##    #    ##
### $ $#$ $ ###
# #$ $ # $ $# #
# $  ..#..  $ #
#  $...#...$  #
# $ .. * .. $ #
###### @ ######
# $ ..   .. $ #
#  $...#...$  #
# $  ..#..  $ #
# #$ $ # $ $# #
### $ $#$ $ ###
 ##    #    ##
  ###########

Sample output:

  ###########
 ##    #    ##
###    #    ###
# #    #    # #
#    **#**    #
#   ***#***   #
#   ** * **   #
###### @ ######
#   **   **   #
#   ***#***   #
#    **#**    #
# #    #    # #
###    #    ###
 ##    #    ##
  ###########

Sample input:_

         #####
     #####  #####
     #  .#$   $ #
     # #. $$$ @ ##
     #  .#$   $  #
     ###.#  $ $  #
       #.  ##$ ###
 #######*###.$ #
 # $    ....####
## #$#$$....#
#  $ $   #..#
#     $  #..#
#  ##########
#####

Sample output:

         #####
     #####  #####
     #  *#      #
     # #*     @ ##
     #  *#       #
     ###*#       #
       #*  ##  ###
 #######*###*  #
 #      ****####
## # #  ****#
#        #**#
#        #**#
#  ##########
#####

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid170.01062010/09/04 20:13:370B / 13B / 4B
2eban170.01202010/09/04 22:46:330B / 13B / 4B
3uru170.01212010/09/04 22:55:030B / 13B / 4B
4yvl170.01172010/09/06 04:38:240B / 13B / 4B
5hide24170.01442010/09/06 18:25:010B / 13B / 4B
6murky-satyr170.01092010/09/07 17:05:520B / 13B / 4B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89180.00212010/09/04 04:56:050B / ?B / ?B
2KirarinSnow180.00222010/09/05 23:21:150B / 6B / 9B
3dcutter180.00232010/09/06 16:39:470B / 6B / 9B
4eban180.00222010/09/06 22:12:580B / 6B / 9B
5murky-satyr180.00222010/09/07 18:59:590B / 6B / 9B
6ais523180.00222010/09/08 03:37:050B / ?B / ?B
7MG180.00222010/09/08 08:51:170B / 6B / 9B
8%20170.03372016/08/10 03:30:090B / 6B / 8B
9test1180.04712016/08/10 03:26:400B / ?B / ?B
10dankogai200.00232010/09/15 22:22:321B / 7B / 9B

Python _

RankUserSizeTimeDateStatistics
1hallvabo550.06342010/09/04 07:33:220B / 37B / 15B
2pv2b550.07122010/09/05 01:13:000B / 33B / 19B
3hallvabo (alt)580.07112010/09/04 07:34:080B / 34B / 24B
4nooodl590.06922010/09/04 05:17:020B / ?B / ?B
5gnibbler590.34312010/09/05 22:52:171B / 38B / 18B

PHP _

RankUserSizeTimeDateStatistics
1milieu310.11172010/09/04 10:50:480B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1KirarinSnow670.10772010/09/07 08:46:430B / 49B / 18B
2kaki250.07262011/11/01 04:57:280B / 11B / 12B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima570.20612010/09/04 18:57:110B / 27B / 28B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr456.54862010/09/07 23:13:340B / 18B / 24B
2pooq505.92482010/09/08 00:08:500B / 23B / 23B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr605.35862010/09/07 22:59:040B / 29B / 28B

Io _

RankUserSizeTimeDateStatistics
1pooq530.57952010/09/07 04:00:230B / 43B / 7B
2murky-satyr530.48442010/09/07 17:15:370B / 43B / 7B

JavaScript _

RankUserSizeTimeDateStatistics
1nn620.01112010/09/04 11:15:250B / 32B / 29B
2xulapp620.00562010/09/04 11:36:120B / 32B / 29B
3murky-satyr620.00612010/09/07 17:19:590B / 32B / 29B

Lua _

RankUserSizeTimeDateStatistics
1pooq540.02632011/01/03 23:48:080B / 20B / 33B

Tcl _

RankUserSizeTimeDateStatistics
1murky-satyr560.18552010/09/08 11:37:520B / 31B / 14B

Xtal _

RankUserSizeTimeDateStatistics
1pooq620.07852010/09/07 22:42:430B / 27B / 34B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock440.03672012/07/20 19:01:450B / 24B / 15B

Prolog _

RankUserSizeTimeDateStatistics
1pooq480.06482010/09/07 06:37:240B / 25B / 22B
2pooq340.09222012/03/05 10:26:510B / 18B / 15B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*290.00332010/09/04 07:05:070B / 18B / 11B

Perl6 _

RankUserSizeTimeDateStatistics
1murky-satyr319.83462010/09/07 18:06:040B / 17B / 14B

J _

RankUserSizeTimeDateStatistics
1pooq260.10842010/09/07 03:39:180B / 12B / 12B
2I., S.(pooq)230.08172011/10/22 22:40:080B / 12B / 10B
3I., S.240.10932011/07/12 20:46:230B / 10B / 14B
4I., S.(+pooq)240.11042011/07/12 21:02:110B / 12B / 11B

C _

RankUserSizeTimeDateStatistics
1yuyarin420.00222010/09/04 07:04:110B / 24B / 18B
2hallvabo420.00222010/09/04 07:38:560B / 24B / 18B
3inaniwa420.00212010/09/04 07:56:110B / 24B / 18B
4nai420.00222010/09/04 08:01:110B / 24B / 18B
5not420.00212010/09/04 11:07:090B / 24B / 18B
6nn420.00222010/09/04 12:28:120B / 24B / 18B
7doug420.00222010/09/04 13:10:510B / 24B / 18B
8msk420.00212010/09/05 12:50:130B / 24B / 18B
9uru420.00232010/09/05 13:29:550B / 24B / 18B
10gnibbler450.00152010/09/05 23:03:040B / 28B / 17B
11kokosek540.00212010/09/05 18:18:140B / ?B / ?B
12%20450.03162015/02/03 01:08:200B / 27B / 18B

OCaml _

RankUserSizeTimeDateStatistics
1murky-satyr590.10442010/09/07 18:55:010B / 48B / 6B
2m.ukai590.10782010/09/10 13:10:580B / 48B / 6B

Haskell _

RankUserSizeTimeDateStatistics
1pi8027450.00262010/09/04 05:14:300B / 21B / 19B
2rst76450.00272010/09/05 22:42:280B / 21B / 16B
3murky-satyr450.00252010/09/07 22:48:560B / 21B / 16B
4konn450.00262010/09/08 13:02:270B / 21B / 19B
5notogawa450.00272010/09/09 20:21:430B / 21B / 16B
6Lost_dog450.00252010/09/10 21:47:280B / 21B / 16B

Java _

RankUserSizeTimeDateStatistics
1hallvabo880.47472010/09/04 07:37:490B / 55B / 31B
2teebee870.39402011/07/11 10:48:490B / 52B / 32B

Pascal _

RankUserSizeTimeDateStatistics
1uru930.00262010/09/05 00:46:530B / 67B / 21B
2*yuko*(uru)920.03852011/06/12 07:27:320B / 65B / 22B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*730.00292010/09/05 18:45:380B / 48B / 22B
2*yuko*620.01382012/11/19 20:37:500B / 42B / 18B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2220.04892011/11/01 20:27:290B / 152B / 53B

Maxima _

RankUserSizeTimeDateStatistics
1pooq790.49122010/09/07 06:42:390B / 37B / 39B

Octave _

RankUserSizeTimeDateStatistics
1pooq(inaniwa)310.57312011/11/01 06:32:140B / 19B / 12B
2inaniwa401.22422011/03/21 21:03:010B / 25B / 15B

Asymptote _

RankUserSizeTimeDateStatistics
1xulapp722.73152010/09/10 22:03:540B / 37B / 33B
2teebee690.51392011/12/17 22:57:590B / 32B / 35B

AWK _

RankUserSizeTimeDateStatistics
1eban270.05012010/09/09 11:13:350B / 10B / 17B

sed _

RankUserSizeTimeDateStatistics
1narb80.00712010/09/04 11:13:000B / ?B / ?B
2doug80.00192010/09/04 13:17:350B / 1B / 6B
3eban80.00162010/09/04 14:43:120B / 1B / 6B
4msk80.00182010/09/04 18:25:290B / 1B / 6B
5inaniwa80.00862010/09/04 23:44:250B / 1B / 6B
6KirarinSnow80.00182010/09/05 22:04:280B / 1B / 6B
7leonid80.00172010/09/06 13:07:250B / 1B / 6B
8ais52380.06782010/09/08 03:34:440B / ?B / ?B
9dankogai80.00182010/09/15 23:14:150B / ?B / ?B
10ustimaw80.03142015/02/22 19:45:420B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1nooodl90.00342010/09/04 05:02:110B / ?B / ?B
2narb90.00332010/09/04 11:27:530B / ?B / ?B
3eban90.00332010/09/04 18:48:420B / 2B / 4B
4KirarinSnow90.01502010/09/06 09:58:390B / 2B / 4B

wake _

RankUserSizeTimeDateStatistics
1yvl360.01652010/09/06 05:13:510B / 2B / 28B
2eban360.01642010/09/06 09:44:270B / 2B / 28B
3murky-satyr360.01642010/09/07 19:08:290B / 2B / 28B

Postscript _

RankUserSizeTimeDateStatistics
1KirarinSnow(bin)480.44012010/09/05 23:15:1314B / 21B / 13B
2KirarinSnow820.43792010/09/05 23:05:260B / 62B / 13B

R _

RankUserSizeTimeDateStatistics
1pooq461.44732010/09/07 10:41:000B / 25B / 20B

Brainfuck _

RankUserSizeTimeDateStatistics
1narb880.01232010/09/05 23:28:420B / ?B / ?B
2uru1180.01252010/09/05 22:17:430B / 0B / 118B

Befunge _

RankUserSizeTimeDateStatistics
1inaniwa270.00452010/09/06 13:31:040B / 6B / 18B
2%20180.01572015/02/02 04:33:340B / 4B / 14B
3%20()180.01502015/02/02 04:45:370B / 4B / 14B

GolfScript _

RankUserSizeTimeDateStatistics
1nn60.14722010/09/04 12:32:460B / 1B / 5B
2doug60.14932010/09/04 13:08:090B / 1B / 5B
3leonid60.15482010/09/04 20:14:270B / 1B / 5B
4narb60.14382010/09/04 21:14:300B / ?B / ?B
5gnibbler60.15042010/09/05 22:31:390B / 1B / 5B
6KirarinSnow60.14932010/09/05 22:44:380B / 1B / 5B
7yvl60.15152010/09/06 04:39:090B / 1B / 5B
8nooodl60.14392010/09/08 22:18:190B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1whio40.24352015/02/03 06:06:042B / 1B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu110.09432010/09/04 11:13:550B / ?B / ?B
2milieu70.65782010/11/25 21:46:440B / ?B / ?B

FerNANDo _

RankUserSizeTimeDateStatistics
1%20530.14812016/08/10 03:25:390B / 27B / 0B
2test1550.13592016/08/10 03:10:420B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*90.67192010/09/04 07:22:187B / 2B / 0B

Vim _

RankUserSizeTimeDateStatistics
1nn210.13652010/09/04 12:43:390B / 10B / 8B
2doug230.08672010/09/04 07:18:470B / 6B / 15B
3clock170.16222012/01/01 12:18:190B / 5B / 8B
4pla230.30002010/09/11 04:12:190B / 5B / 16B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr130.29552010/09/07 17:07:000B / 8B / 5B
2leonid130.15242010/09/09 00:53:330B / 8B / 5B

Groovy _

RankUserSizeTimeDateStatistics
1nn316.24752010/09/04 12:45:450B / 21B / 10B
2murky-satyr316.72392010/09/07 17:09:060B / 21B / 10B

Logo _

RankUserSizeTimeDateStatistics
1pooq420.05892011/03/22 16:34:000B / 30B / 5B
2teebee420.04792011/03/23 07:42:020B / 32B / 3B

Language Ranking_

RankLangUserSizeScore
1gs2whio410000
2GolfScriptnn66666
3FlogScriptmilieu75714
4sednarb85000
5Bashnooodl94444
6z80*yuko*94444
7gorubymurky-satyr133076
8Rubyleonid172352
9Vimclock172352
10Perl%20172352
11Befunge%20()182222
12JI., S.(pooq)231739
13Schemekaki251600
14AWKeban271481
15BASIC*yuko*291379
16PHPmilieu311290
17Groovynn311290
18Perl6murky-satyr311290
19Octavepooq(inaniwa)311290
20Prologpooq341176
21wakeyvl361111
22Cyuyarin42952
23Logopooq42952
24SNOBOLclock44909
25Haskellpi802745888
26Arcmurky-satyr45888
27Rpooq46869
28PostscriptKirarinSnow(bin)48833
29Iopooq53754
30FerNANDo%2053754
31Luapooq54740
32Pythonhallvabo55727
33Tclmurky-satyr56714
34Common LISPkozima57701
35OCamlmurky-satyr59677
36Clojuremurky-satyr60666
37JavaScriptnn62645
38Xtalpooq62645
39Fortran*yuko*62645
40Asymptoteteebee69579
41Maximapooq79506
42Javateebee87459
43Brainfucknarb88454
44Pascal*yuko*(uru)92434
45COBOL*yuko*222180

return to the top page