#ifndef PIECES_H #define PIECES_H struct piece { int h; int w; int points; 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, int mapW); void freepiece(struct piece* pc); #endif