/hack

tile based game

Primary LanguageJava

hack

tile based game

example output

testing only

$ java test
start card position: 1
starting deck: [[1,1,1,0],[1,0,1,0],[0,0,1,0],[1,1,1,1],[#,#,#,#],[#,_,#,_],[0,1,1,0],[0,0,0,0],[_,#,#,_],[_,_,#,_],[#,#,#,_]]
Start card: [1,0,1,0]
first move deck: [[1,1,1,0],[0,0,1,0],[1,1,1,1],[#,#,#,#],[#,_,#,_],[0,1,1,0],[0,0,0,0],[_,#,#,_],[_,_,#,_],[#,#,#,_]]
first move board:[{0,0:[1,0,1,0]}]
Valid Moves:
0,-1: [1,1,1,0]
0,-1: [0,0,1,0]
0,-1: [1,1,1,1]
0,-1: [#,#,#,#]
0,-1: [#,_,#,_]
0,-1: [0,1,1,0]
0,-1: [_,#,#,_]
0,-1: [_,_,#,_]
0,-1: [#,#,#,_]
1,0: [1,1,1,0]
1,0: [0,0,1,0]
1,0: [#,#,#,#]
1,0: [0,1,1,0]
1,0: [0,0,0,0]
0,1: [1,1,1,0]
0,1: [1,1,1,1]
0,1: [#,#,#,#]
0,1: [#,_,#,_]
0,1: [#,#,#,_]
-1,0: [0,0,1,0]
-1,0: [#,#,#,#]
-1,0: [0,0,0,0]
-1,0: [_,#,#,_]
-1,0: [#,#,#,_]