3 whole days in #Go I noticed my search history rolled back to:

  • “Convert an int to bool in Go”
  • “Swap two variables in Go”
  • “How to write a dictionary in Go”

Like a baby again. 🤣

⤋ Read More

@prologic@twtxt.net I wrote them by memory and got them wrong, here what I searched and why:

  • Using boolean as int to do math like false - true => -1` for selecting motion, managed differently
  • Swapping struct fields in a 2d array: solved by decoupling the items and it’s array with pointers
  • Found that quickly myself ✌️

Almost done with my first baby Go experiment, I’ll share soon™️`

⤋ Read More

@justamoment@twtxt.net Hey I just cloned and tried this little game of yours! 😅 This is amazing, really quite good and in only ~600 lines of Go 👌 Very nice! I might show this to my youngest daughter to play 😆 – Now you just need to have levels, sound, music and so on… 🤣

⤋ Read More

Participate

Login to join in on this yarn.