summaryrefslogtreecommitdiff
path: root/pieces.h
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-05-31 19:00:42 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-05-31 19:00:42 +0800
commit5b9a799146f25dd23d108b01abed72dc50556076 (patch)
treef352f1fcbce4febd6f814639613b96bfdf7b8d72 /pieces.h
Initial commit: placing pieces
Diffstat (limited to 'pieces.h')
-rw-r--r--pieces.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pieces.h b/pieces.h
new file mode 100644
index 0000000..ee2e371
--- /dev/null
+++ b/pieces.h
@@ -0,0 +1,11 @@
+#ifndef PIECES_H
+#define PIECES_H
+struct piece {
+ int h;
+ int w;
+ char* blocks;
+};
+
+struct piece* randpiece();
+#endif
+