Stats
2,114
reputation
733k
reached
36
answers
0
questions
Loading…
About
- 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);
}
}
Badges
View all badges
This user doesn’t have any gold badges yet.
14
-
Good AnswerJul 14, 2016
-
Enlightened
× 3Apr 12, 2022 -
Yearling
× 10Sep 5
16
-
destinyMar 10, 2015
-
MortarboardOct 5, 2014
-
OrganizerOct 5, 2014
Top tags
View all tags
115
Score
20
Posts
56
Posts %
11
Score
2
Posts
6
Posts %
10
Score
2
Posts
6
Posts %
10
Score
2
Posts
6
Posts %
4
Score
3
Posts
8
Posts %
3
Score
2
Posts
6
Posts %
Top network posts
View all network posts