# HG changeset patch
# User indvdum (gotoindvdum[at]gmail[dot]com)
# Date 1342293962 -14400
# Node ID 3ceb637cf53d6ec8d12edb3dfa8b69824f567a63
# Parent f83e1e778061812121779ff1c02347658c68dae9
Clear deafult branch
diff -r f83e1e778061 -r 3ceb637cf53d .classpath
--- a/.classpath Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff -r f83e1e778061 -r 3ceb637cf53d .project
--- a/.project Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-
-
- icfpc-2012
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff -r f83e1e778061 -r 3ceb637cf53d bin/ru/bosony/icfpc/Mine.class
Binary file bin/ru/bosony/icfpc/Mine.class has changed
diff -r f83e1e778061 -r 3ceb637cf53d bin/ru/bosony/icfpc/Start.class
Binary file bin/ru/bosony/icfpc/Start.class has changed
diff -r f83e1e778061 -r 3ceb637cf53d bin/ru/bosony/icfpc/cells/Cell.class
Binary file bin/ru/bosony/icfpc/cells/Cell.class has changed
diff -r f83e1e778061 -r 3ceb637cf53d bin/ru/bosony/icfpc/cells/CellTypes.class
Binary file bin/ru/bosony/icfpc/cells/CellTypes.class has changed
diff -r f83e1e778061 -r 3ceb637cf53d src/ru/bosony/icfpc/Mine.java
--- a/src/ru/bosony/icfpc/Mine.java Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-package ru.bosony.icfpc;
-
-import java.nio.file.FileVisitOption;
-import java.util.LinkedHashMap;
-import java.util.Map;
-
-import ru.bosony.icfpc.cells.Cell;
-
-/**
- * Шахта
- *
- * @author akhmetovlz
- *
- */
-public class Mine
-{
- private Map cellPrototypes = new LinkedHashMap();
-
- private Cell cells[][][];
- private int index = 0;
-
- public Mine(int n, int m, String content)
- {
- initCellPrototypes();
-
- cells = new Cell[2][n][m];
-
- int index = 0;
-
- for(int i=0; i1; --j)
- {
- switch(firstBuffer()[i][j])
- {
- case ROCK:
- {
- if(firstBuffer()[i][j-1] == Cell.EMPTY)
- {
- secondBuffer()[i][j] = Cell.EMPTY;
- }
- }
- break;
- }
- }
- }
-
-}
diff -r f83e1e778061 -r 3ceb637cf53d src/ru/bosony/icfpc/Start.java
--- a/src/ru/bosony/icfpc/Start.java Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-package ru.bosony.icfpc;
-
-public class Start
-{
- public static void main(String[] args)
- {
- String content = "################***...R......##***... ...*..##\\\\\\... ..\\\\\\.##...... ...*..##.. .. ...##.... .... ...##.... .... ...##.. . ..##..*. .. .....##.... .. .....##.\\.. .......*##.............##......... .##############L#";
- Mine mine = new Mine(15, 15, content);
- mine.print();
- }
-}
diff -r f83e1e778061 -r 3ceb637cf53d src/ru/bosony/icfpc/cells/Cell.java
--- a/src/ru/bosony/icfpc/cells/Cell.java Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-package ru.bosony.icfpc.cells;
-
-public enum Cell
-{
- ROBOT('R'),
- ROCK('*'),
- EAGHT('.'),
- WALL('#'),
- LAMBDA('\\'),
- CLOSED_LAMBDA_LIFT('L'),
- OPEN_LAMBDA_LIFT('O'),
- EMPTY(' '),
- EARTH('.');
-
- private char ASCII;
-
- private Cell(char ASCII)
- {
- this.ASCII = ASCII;
- }
-
- public char getASCII()
- {
- return ASCII;
- }
- public void setASCII(char aSCII)
- {
- ASCII = aSCII;
- }
-
-}
diff -r f83e1e778061 -r 3ceb637cf53d src/ru/bosony/icfpc/cells/CellTypes.java
--- a/src/ru/bosony/icfpc/cells/CellTypes.java Fri Jul 13 18:45:38 2012 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-package ru.bosony.icfpc.cells;
-
-public enum CellTypes
-{
- ROBOT,
- ROCK,
- EAGHT,
- WALL,
- LAMBDA,
- CLOSED_LAMBDA_LIFT,
- OPEN_LAMBDA_LIFT,
- SPACE,
- EARTH
-}