Generation

generate functionTue, 18 Apr 2023

tetris

// the shape of a tetris int shape[][4][8] = { { {0,0,0,0,1,1,1,0}, {0,1,0,0,1,1,0,0}, {0,0,0,0,1,1,1,0}, {0,1,0,0,1,1,0,0} }, { {0,1,0,0,1,1,0,0}, {1,1,1,1,0,0,0,0}, {0,1,0,0,1,1,0,0}, {1,1,1,1,0,0,0,0} }, { {0,0,0,0,1,1,1,0}, {0,1,0,0,1,1,0,0}, {0,0,0,0,1,1,1,0}, {0,1

Want to kickstart your project?Use the new AI Studio to create your code