@@ -0,0 +1,1655 @@
+package tetris.game;%0A%0Aimport org.newdawn.slick.AppGameContainer;%0Aimport org.newdawn.slick.SlickException;%0A%0Aimport tetris.tetromino.Block;%0A%0Apublic class Setup %7B%0A%0A//======================================================================%0A//%0A//--------------------------------Fields--------------------------------%0A//%0A//======================================================================%0A%09%09%09%0A%09public static final int BUFFER_RIGHT = Block.BLOCK_SIZE * 5;%0A%09public static final int BUFFER_UP = Block.BLOCK_SIZE * 0;%0A%09public static final int BUFFER_LEFT = Block.BLOCK_SIZE * 5;%0A%09public static final int BUFFER_DOWN = Block.BLOCK_SIZE * 0;%0A%09%0A%09public static final int WIDTH_IN_BLOCKS = 10;%0A%09public static final int HEIGHT_IN_BLOCKS = 15;%0A%09%0A%09public static final int WIDTH_IN_PIXELS = Block.BLOCK_SIZE * WIDTH_IN_BLOCKS + BUFFER_LEFT + BUFFER_RIGHT;%0A%09public static final int HEIGHT_IN_PIXELS = Block.BLOCK_SIZE * HEIGHT_IN_BLOCKS + BUFFER_UP + BUFFER_DOWN;%0A%09%0A%09%0A%09private static final boolean fullscreen = false;%0A%09private static final int updatesPerSecond = 60;%0A%09private static final boolean alwaysRender = false;%0A%09%0A//======================================================================%0A//%0A//-------------------------------Methods--------------------------------%0A//%0A//======================================================================%0A%09%0A%09public static void main(String%5B%5D args) throws SlickException %7B%0A%09%09AppGameContainer game = new AppGameContainer(new Tetris(%22Tetris%22));%0A%09%09game.setDisplayMode(WIDTH_IN_PIXELS, HEIGHT_IN_PIXELS, fullscreen);%0A%09%09game.setMaximumLogicUpdateInterval(updatesPerSecond);%0A%09%09game.setAlwaysRender(alwaysRender);%0A%09%09%0A%09%09game.start();%0A%09%7D%0A%09%0A%7D%0A

Create Setup.java