Commit Graph

  • 92676d6474 fix: you need to take the square root of the size, not divide by two, Quinn 2025-01-27 16:44:02 +01:00
  • b3ad7e1f54 readability fixes Quinn 2025-01-27 16:38:24 +01:00
  • 2dbdc5ac40 add colour selection based on ID Quinn 2025-01-27 16:19:07 +01:00
  • 1097c6e09d make shape data identifiable by ID and rotation Quinn 2025-01-27 16:16:23 +01:00
  • b698a0e3d1 add some temporary code for setting a random tetromino Quinn 2025-01-27 15:32:05 +01:00
  • 7f00107c7f split up the code a bit more Quinn 2025-01-27 00:26:36 +01:00
  • fec4651639 rename shapes.h to tetromino/shapes.h Quinn 2025-01-27 00:20:36 +01:00
  • 26770f38fe change column size to 16 instead of 10 Quinn 2025-01-27 00:16:50 +01:00
  • cc51611eb2 fix column size Quinn 2025-01-27 00:16:11 +01:00
  • fefb7be44b remove duplicate -Wall Quinn 2025-01-26 12:35:23 +01:00
  • 0978b98f8d update makefile to be similar to the one in the template Quinn 2025-01-26 12:32:09 +01:00
  • db4671e206 fix: did not name the project correctly Quinn 2025-01-26 11:52:53 +01:00
  • cd9ee68c85 sync makefile with template to add more advanced debugging options Quinn 2025-01-26 11:50:32 +01:00
  • 1c90857a3d remove typed enums reliance Quinn 2025-01-26 11:49:31 +01:00
  • 3190bb4732 fix pedantic warnings Quinn 2025-01-24 19:35:13 +01:00
  • ec77c6958f make the shapes an enum rather than a bunch of definitions Quinn 2025-01-24 18:23:32 +01:00
  • ef31a446cd add clear rows method Quinn 2025-01-24 17:24:51 +01:00
  • 8ade7fa456 rename add_shape to set_shape Quinn 2025-01-24 16:37:38 +01:00
  • e38958ad56 add a few more colour definitions Quinn 2025-01-24 16:32:30 +01:00
  • ff03fa0e80 some formatting fixes Quinn 2025-01-24 16:30:32 +01:00
  • 23a27e3e10 convert colour to a 2 bit format Quinn 2025-01-24 16:29:22 +01:00
  • c80cf60d52 add language and standard parameters to the compilation process Quinn 2025-01-24 15:32:29 +01:00
  • 28916f899b make heavy changes to makefile - clean when makefile changes (ang generate compile_commands.json) - better handling for directory dependencies - reorganise code more - add dependency tracking so it triggers recompiles on header file changes Quinn 2025-01-20 21:50:31 +01:00
  • 99fe7df597 fix: incorrect import Quinn 2025-01-20 20:50:21 +01:00
  • f5ca322ffb remove old build dir Quinn 2025-01-20 00:33:01 +01:00
  • 34fd24b01f implement setting coloured shapes Quinn 2025-01-20 00:27:01 +01:00
  • 2933f5bdd8 add colour Quinn 2025-01-19 21:05:31 +01:00
  • 9362cb092c update template to use makefile Quinn 2025-01-19 19:22:16 +01:00
  • c594c94428 make a start on the logic Quinn 2024-12-03 12:05:35 +01:00
  • 8bdf6bf2d2 Initial commit Quinn 2024-12-02 10:37:52 +01:00