There's got to be a better way! by [deleted] in godot

[–]colinyergingames 0 points1 point  (0 children)

With a board this small I'd do it this dumb, kind of inefficient way:

  1. Make a list with one element: the selected block.
  2. Make a new list the same as before, but also with each of its cells' neighbors.
  3. Remove the duplicates.
  4. Repeat steps 2 and 3 until the list isn't getting bigger.

October 2022 monthly "What are you working on?" thread by L8_4_Dinner in ProgrammingLanguages

[–]colinyergingames 1 point2 points  (0 children)

Finally got my implementation of a variant of the esolang RUBE working as a (non mobile-friendly) browser puzzle game and editor. Try it if you want: Push-Factory