So I have been searching and searching all day, but I cannot seem to find how to create my dictionary I created in Python and create something similar in Java. I have tried looking at ArrayList and List etc. But to no avail.
PIECESDICT = {1: [[0,0], [0,1], [0,2], [1,1]], 2: [[0,0], [1,0], [0,1]], 3: [[0,0], [0,1], [1,1]], 4: [[0,0], [0,1], [1,0], [1,1]], 5: [[0,0], [1,0], [2,0]]}
So here is my Dictionary, and essentially what it does is just says from coords (0,0) being the top left point of each piece. It is a piece in and of itself.
For example Piece 1 would look like:
0
00
0
Similarly Piece 2 would look like:
00
0