343
reputation
2
7

Eben

  • Game Designer
    • Programmer
    • Caffeinated

I specialize in roguelikes and procedurally generation algorithms. My languages of choice are currently Java and JavaScript.

My roguelike library for Java is publicly available.

Here's how easy it is to set up a basic console:

public class SquidExample {

public static void main(String[] args) {
    SwingPane pane = new SwingPane(40, 30, 14, 23);
    RNG ran = new RNG();
    SColor color;
    for (int x = 0; x < 40; x++) {
        for (int y = 0; y < 30; y++) {
            color = ran.nextBoolean() ? SColor.RUBY : SColor.PLUM;
            pane.put(x, y, color);
        }
    }
    pane.refresh();

    JFrame frame = new JFrame("Example for SquidLib");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().setBackground(SColor.BLACK);
    frame.getContentPane().add(pane);
    frame.pack();

    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
}

}

8
answers
0
questions
~7k
people reached
  • Member for 5 years, 3 months
  • 4 profile views
  • Last seen Aug 7 '17 at 14:41

Top tags (21)

Score 9
Posts 1
Posts % 12
Score 9
Posts 1
Score 7
Posts 1
Score 7
Posts 1
Score 7
Posts 1
Score 7
Posts 1

Top posts (8) All Questions Answers | Votes Newest

Badges (9)

Gold

Silver

2

Rarest

Bronze

7

Rarest