LCD display / Snake game

More crazy experiments on Coda!
(it glitches, but it works)


This is so cool! Reminds me of my high school days playing snake on my TI-82 graphing calculator :grinning:


Heh. We didn’t have those calculators here, not ubiquitously at least.

Also, I think it’s the first time ever in my 12+ year programming practice that I coded a snake.

BTW, just came up with a way of calling these experiments: Coda golf — like code golf, but with Coda :grin:


This is really impressive @Paul_Danyliuk!

Thanks a ton for sharing!

My record so far: 36.
Try to beat :slight_smile:


You just blew my whole mind. :clap::clap::clap:


thats quite impressive. does this require coda’s ‘actions’?

Thanks! Yes, this heavily uses actions like ModifyRows to update the game state on each step, and also some hacks like two buttons pressing each other to implement a game loop (see WHILE loop implementation)

nice. i take it you would not be able to do this in Notion right?

I think not :slight_smile: Notion is mostly for journaling, its interactivity is limited (afaik you can make a button to insert a tree of blocks, but that’s it)

I had a TI-80. No data port. So I had to program every game line-by-line (no downloading for me :slight_smile:)! On a related note, I bought a great-condition TI-84+ at Goodwill for $5.99 about a year ago…

1 Like

Wow $5.99! Just checked Amazon and the TI-82 is still going for $99.99 :slightly_smiling_face:

1 Like

I know! I don’t need a TI-84+. But for that price I couldn’t pass it up! I also bought a Casio FX-7400G Plus graphing calculator from Goodwill for $3.99. Batteries leaked so I had to do some cleanup. But it works!

1 Like