/**
* Instructions:
* W-jump
* A-Left
* D-Right
* Jump over the slimes to kill them!
* Otherwise they knock you back.
* Good luck!
**/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.util.concurrent.ThreadLocalRandom;
public class Swordy extends JPanel implements ActionListener,KeyListener {
static int x;
static int y;
Timer timer;
static int Jumpspeed;
static int jumpSpeedSlowDown;
static int[] xPoints;
static int[] yPoints;
static int[] xPoints1;