#ifndef PIECES_H #define PIECES_H struct piece { int h; int w; char* blocks; }; struct piece* randpiece(); void refillpieces(struct piece** hand, int nhand); bool placeable(char** map, struct piece* pc, int row, int col, int mapH, int mapW); void place(char** map, struct piece* pc, int row, int col); void freepiece(struct piece* pc); #endif