Code (PHP) pasted on 2019-01-31, 22:21 Raw Source
- <?php
- function getTetrominos(int $count): string {
- $bag = [];
- $tetrominos = [];
- $bag = initTetrominoBag();
- }
- }
- }
- $bag = ['I', 'O', 'L', 'J', 'T', 'S', 'Z'];
- return $bag;
- }
- echo getTetrominos(50);
Code (PHP) pasted on 2019-01-31, 22:21 Raw Source