Pattern Blocks Simulation