game-ctrl merged

This commit is contained in:
2024-03-14 11:10:18 +01:00
parent 349c93b68f
commit 1959a3f578
40 changed files with 0 additions and 0 deletions

31
game-ctrl/shape_i.c Normal file
View File

@ -0,0 +1,31 @@
#include "shapes.h"
#include "shape_i.h"
#include "canvas.h"
uint8_t draw_i() {
canvasSetPixel(stone.x, stone.y, 0x01);
canvasSetPixel(stone.x, stone.y+1, 0x01);
canvasSetPixel(stone.x, stone.y+2, 0x01);
canvasSetPixel(stone.x, stone.y+3, 0x01);
return 1;
}
uint8_t moveDown_i() {
return 1;
}
uint8_t moveLeft_i() {
return 1;
}
uint8_t moveRight_i() {
return 1;
}
uint8_t rotateLeft_i() {
return 1;
}
uint8_t rotateRight_i() {
return 1;
}