Tagged Questions
1
vote
4answers
137 views
Logic that can traverse all possible layouts, but not checking every combination of identical pieces?
Suppose we have a grid of arbitrary size, which is filled by blocks of various widths and heights. There are many 2x2 blocks (meaning they take a total of 4 cells in the grid) and many 3x3 blocks, as ...
10
votes
2answers
383 views
Finding shapes in 2D Array, then optimising
I've just been allowed an image...The image below from my game shows some darkened blocks, which have been recognised as being part of a "T" shape. As can be seen, the code has darkened the blocks ...
1
vote
1answer
207 views
Creating an interactive grid for a puzzle game
I am trying to make a slitherlink game, and am not too sure how to approach creating the game, more specifically the grid structure on which the puzzle will be played on.
This is what a empty and ...
1
vote
1answer
957 views
Efficient algorithm for match-3 block detection and clearing?
So I'm making a game with elements of a match-3 puzzler (e.g. Columns, Bejeweled, Tetris Attack). However, I don't know where to begin in terms of creating an algorithm that lets me detect matches ...