Skip to content

Instantly share code, notes, and snippets.

View ckwang8128's full-sized avatar

Courtney Wang ckwang8128

View GitHub Profile
@ckwang8128
ckwang8128 / BBall.java
Created August 8, 2012 20:40 — forked from bh3/BBall.java
Google Basketball Doodle Solution (Java)
import java.awt.Robot;
import java.awt.AWTException;
import java.awt.event.KeyEvent;
public class BBall {
public static void main(String[] args) throws AWTException {
Robot rob = new Robot();
int delay[] = { 300, 220, 840, 1000, 1150, 1500};
int repeat[]= { 3, 2, 5, 5, 4, 2};
rob.delay(2000);