I'm sure there's a simple way to do this but for the life of me I can't think of it!!
What I want to create is a playing field made up of blocks but everytime the game is played I need it to be randomized.
The problem is that the blocks aren't all the same size. Lets use Tetris blocks as an example although this isn't going to be for a Tetris game.
Some of the Tetris blocks may be long, some tall, others may be T shaped etc. How do I make it create a random playfield out of different size blocks with no gaps?
All ideas would be appreciated