We’re rewarding the question askers & reputations are being recalculated! Read more.
2,114
reputation
8
15

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);
}

}

36
answers
0
questions
~697k
people reached
  • Member for 5 years, 2 months
  • 567 profile views
  • Last seen Jul 8 '17 at 17:30

Top tags (17)

Score 115
Posts 20
Posts % 56
Score 10
Posts 2
Score 10
Posts 2
Score 4
Posts 3
Score 3
Posts 2

Top posts (36) All Questions Answers | Votes Newest

View all questions and answers

Badges (23)

Gold

Silver

8

Rarest

Bronze

15

Rarest