Skip to content

Instantly share code, notes, and snippets.

@magon15
magon15 / Tetris.java
Created Jul 16, 2017 — forked from DataWraith/COPYING
A simple Tetris clone written in Java
View Tetris.java
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.JFrame;
import javax.swing.JPanel;