Skip to content

Instantly share code, notes, and snippets.

@kyanny
Forked from keokent/Sekigae.java
Created May 24, 2013 01:07
Show Gist options
  • Save kyanny/5640676 to your computer and use it in GitHub Desktop.
Save kyanny/5640676 to your computer and use it in GitHub Desktop.
import java.util.ArrayList;
import java.util.Collections;
public class Sekigae{
public static void main(String[] args){
ArrayList<String> list = new ArrayList<String>();
list.add("okkun");
list.add("kitak");
list.add("keoken");
list.add("gussun");
Collections.shuffle(list);
System.out.println(list.get(0) +" | "+ list.get(1) +" | "+
list.get(2) +" | "+ list.get(3));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment