top of page
clouds.png
clouds.png
cat in the sky2.png
  • Writer: Toby the Cat
    Toby the Cat
  • Mar 8, 2024

Time: 14:55


Work pretty much complete. Removed the need to push a button after selecting second card, added a timer till next turn, remaining pairs displayed and finally a game over screen. Going to see if I can put the file up in the group for others to try out. Still need to be a bit more forward thinking in planning my code but this has been a fun little experiment.




  • Writer: Toby the Cat
    Toby the Cat
  • Mar 7, 2024

Time: 11:05


2D array's didn't work out the way I wanted so just decided to keep it to making perfect squares, if a line isn't fully complete blanks are just used to fill out the rest of the row. Small sacrifice to make and probably looks better in the long run. With all the work thats been put into this little project so far decided to turn it into a simple match 2 game. No actual gameplay yet but got the tiles to hide themselves and uncover.


Time: 14:27


Little bit more advanced, once 2 cards have been picked they are now marked as cleared (next step is to only do this if the two cards match). When picking cards you also can't pick the same card twice or and a card that has been cleared. Happy with progress so far as this has been all my own work.



Time: 18:38


Done allot of tidying up to the coding, sprites and layout. All working as I intended so far. Final thing now is working out how to shuffle the colours around and make sure all scales right.



Time: 20:34


Random sprite placement showing in action and first time finding all the pieces now that they're random to test it still works. Last ideas to add include:

  • A start screen.

  • A limit on time and or moves.

  • A lose screen.

  • A win screen.

  • Ability to increase or decrease grid size and number of tiles.





  • Writer: Toby the Cat
    Toby the Cat
  • Mar 6, 2024

Time: 17:57


Todays project sounds simple but has been fun. Creating code to produce a grid of and size and length I choose, then each square being given it's own sprite (or in this current case just a loop of sprites). Then getting the cursor to move around the grid. As you can see all directions but up currently work as intended. Going to alter some stuff in the back end later to fix this. Currently using a 1D array, think switching to a 2D array might make things easier.



bottom of page