last day (15 days later) » 

15:46
yay
facepalm
I think your spec for rotation is unnecessary
wait you can't change the name
all you need is the direction
???
I wanted to clarify what you rotate around
because you specify the position as the upper left corner of the bounding box anyway
then it's irrelevant what you rotate around
15:48
yeah ok :P
removeded
room topic changed to Tetromino Game: Discussion for the Tetromino Game KotH. (no tags)
There, I fixed the title.
Now that I've made a chatroom, there's no discussion. :c
yay!
I think Rainbolt was right about it working in the main room
if no one is complaining, more eyes is better
16:09
Hm, I think we should use pentominoes instead
@cjfaure I don't
@MartinBüttner why?
... think we should use pentominoes
tetrominoes should be complicated enough
there are only 5 tetrominoes...
also it would be simpler if you could just select your tetromino as an integer instead of having to produce a valid ASCII representation
@cjfaure sounds enough to me
16:16
kk
a simple square, two different ones which can only be rotated, and two different ones which can be rotated and mirrored
that's plenty of strategy
k, check the post
16:43
:O one-based counting...
is this the canonical order? if not, I'd recommend ordering them in order of strategical complexity
@MartinBüttner yeah, that was because 1 is farthest on the left on my keyboard,
@MartinBüttner and it's not canon :P
though the ordering is pretty much in order of complexity
well
square first, then I and T, then S and L
you may flip S and L if you like ^^
in fact you probably should
@MartinBüttner editeded
16:57
lovely
this is going to be amazing!
I can't wait to see how smart (or utterly idiotic) the top submission is :D
Added a 4-second time limit.
The scoreboard would go just above the "Submissions" section :D
Added a GO message for when it's your turn.
I'll make my controller have a GUI :D
3D with an animation of tiles being flipped, rotated and translated
yes
very much that
So now all that's left to do is write the controller (board generation doesn't have to be detailed in the post)
I'll start writing tomorrow, I think I've typed about this enough for today :P
17:27
Well the density needs to go in the spec, but you already have that
Seeing as I have no life, I'll just say "It's tomorrow in Australia" and write the controller now.
:D
Do the controllers get any information (like results of previous games) before making their decision for choosing a tetromino?
That would be sick
opens up pyglet docs
At least you could allow them to persist data in a file or so
@MartinBüttner they're allowed to open files and such
17:32
oh okay
yeah in that case
someone will come up with it
awesome
i forgot how pleasant pyglet is...
17:49
Name ideas I'm thinking of as I'm writing them:
Tetropoly - Tetwist - Xtreme Tetrominos - If It Fits, It Sits - Tetradical
"Tetrapak" is the name of a drinks container manufacturing company.
(which I know because I'm the GNU creep who looks on containers for the company name.)
I know that because that's what they are actually called in Germany
@MartinBüttner o;
@PhiNotPi i like the second last one
well it's how people call tissues Kleenex sometimes (they do, right?)
@MartinBüttner yeah
Brand generalizations
17:54
@cjfaure that one is also long enough
i hate it
i hate it i hate it i hate it
goes on rage trip with flamethrower
okay next time I'm making a KotH,
I'm STARTING with the name
"Banana Brawl: Fruit Facedown"
@cjfaure "Coming soon to WWE RAW"
Banana Brawl... sounds.... gross....
@PhiNotPi well duh, nobody cooks fruit
okay so my strategy for generating the board is to place a tetromino randomly outside of the board's current bounds, and move it towards the center until it can't move anymore
or is at the center
I think that will create too little density
18:09
@MartinBüttner for every 1 piece, there should be 3 empty blocks.
my suggestion: pick a random player, rotate and flip his tetromino randomly, place it greedily in the first available position
yeah okay... I mean... just try any approach and you'll see what density you get
yeah :P
Uhm, though, we're going for density within a square, neither of those work well with a square
Maybe get the dimensions beforehand and use a packing algorithm?
with a density of 4/7 you might just get away with placing them randomly and discarding overlaps
btw I'm totally volunteering to write you a few simple entries to kick things off ^^
I think I'm gonna make post with "The Greedy Five"
one bot with each shape which just picks the first valid position it can find.
:D
well the protocol is pretty much done, so ^^;
(and ignores neutral pieces)
@cjfaure meh, I'm gonna wait until the controller is ready... chances are you'll notice that the protocol could be improved once the controller is done
18:15
@MartinBüttner i guess
and I should spend some time on my domino controller
gotta watch Noragami, but limited to less than 4gb bandwidth for the rest of the month
/r/firstworldproblems

last day (15 days later) »