pull down to refresh

Conway's Game of PacmanConway's Game of Pacman

TLDR: This is a game that looks like pacman, but the walls move like Conway's Game of Life while you collect bitcoin. You can record your score using any nostr profile. You get one free game a day and then pay me sats. You can zap profiles on the leaderboard. It is way harder on mobile than on desktop.

#1412346

You can be a winner at Jon Conway's Game of LifeYou can be a winner at Jon Conway's Game of Life

I've been fascinated by Jon Conway's Game of Life for years. There are more rabbit holes within these rules than are possible to explore in this post. Suffice to say, if you're not familiar with Conway's Game of Life or cellular automaton, go check that out now.

A couple of summers ago, with no coding experience, I took the first plebdevs course by @bitcoinplebdev solely because I thought the advertisements were hilarious. I saw the nostr ad and started with that one first, but quickly realized that I needed to back up and start with the plebdevs front end course. The course was infectious! Immediately, I wanted to play around with css. So, I found someone else's Conway's Game of Life, cut and pasted the javascript that I still didn't fully understand at the time, and made this:

https://conwaysgameoflifewithatwist.vercel.app/
Mostly, I wanted to make it look cool, but I figured I should learn SOMETHING about javascript while doing this. So, I made it possible to interact with the model in real time. If you move the arrows, the Conway's Game of Life will treat the white dot you're moving as a live cell.

Naturally, that led to this:
https://conway-s-life.vercel.app/
which I will not apologize for.

PacmanPacman

Anywho, I only recently learned that you can literally just tell an LLM to make you a program, and it will. I had been using these things to fix my code, but they will literally write TONS of it from scratch. So I made this: https://www.turtlewordgame.xyz/ mostly to see if I could, but partly to see if I could make something that someone could load up in the Fedi app and use all the WebLN features. Plus...you should just check out how much data that NYT Games app collects...

But there's more action in action games than word games, so I'm making this: https://checkmate-zeta.vercel.app/ It's going to be great, but it's really complicated, and I'm losing faith that other people will actually enjoy it.

But everybody loves the classics. That's when I had this vision of Pacman, but the walls are Conway's Game of Life...and they kill you. I'm pretty sure that @grayruby is going to tell me it's too hard, but bear with me. There are other cool features.

BitcoinBitcoin

Also, instead of collecting glowing dots, you get bitcoin in this game. It's not real bitcoin, but it's called bitcoin in the game, so I think that's neat and maybe you will too. Each bitcoin is worth five points, in addition to the points you generate as each generation of Conway's Game of Life progresses.

SpaceshipsSpaceships

I've added some iconic Conway's Game of Life items as you go, just in case the universe starts to die out.

Kind of a nostr client?Kind of a nostr client?

One of the things TURTLE taught me is that people love a good leaderboard. So in this game, you can sign in with an npub. That's right, you sign in with an npub and not an xpub. In other words, you send Edward Snowden to the top of the charts if you want to.

If you go into the game, you'll notice that the profiles of Edward Snowden, Jack Dorsey, Lyn Alden, and @k00b have all made appearances, but as of this writing, it was really all just me. I guess I'll find out quickly how offensive this idea is. But, even if someone else puts you there, being on the leaderboard may get you...

#Zaps

And I added real zaps. Currently, it only logs zaps that are done using WebLN (think Alby, Fedi, Zeus), but I may change this. Also, you technically only get one free game a day, but there are currently ways around this, which I won't share, but most folks on sn are way more technical than me to begin with. We'll see how people respond, but I'll probably leave these.

MobileMobile

I made these cool looking buttons, so you can play on mobile, but it's much harder.

GhostsGhosts

They kill you. Currently, you can't kill them. Life isn't fair.

I'm pretty sure that @grayruby is going to tell me it's too hard, but bear with me

It's too hard! The constantly shifting walls kill me

reply

OK, I made everything slower for the time being. Let me know if you think that makes it more doable.

reply

much easier now, haha

reply

Too easy?!

reply

Let's see if @grayruby can beat my record first!

reply
50 sats \ 3 replies \ @grayruby 4h

Haven't tried it yet. Will give it a shot.

reply
50 sats \ 2 replies \ @grayruby 3h

2247

reply

you beat me, but you didn't sign in!

Are you on mobile? It’s way easier on desktop currently. I’m not sure how to even that out.

reply

Lol, you can only play once and immediately a lightning invoice pops up 😂

reply
21 sats \ 7 replies \ @jasonb OP 2h

That’s right! One free game a day, unless you find the act of clearing local storage to be less work than 100 sats.

reply

What about the motor game. Do I need to drive around more? Is there something to do?

reply
21 sats \ 5 replies \ @jasonb OP 2h

Get close to the people and some of them have quests for you. There’s a large meta-quest that only gets unlocked as you finish stages of it.

reply

But it’s definitely a work in progress… just a heads up

reply

ok, i like it. I got nandi's mission now.

reply

Yup! You’re on the main quest path.

reply

something happens wen all is finished?

or did I miss one?

I got 100 score now. That's it no?

50 sats \ 3 replies \ @grayruby 3h

I like it but I don't like the notifications appear on the game board. Any time I am at the top of the board and a notification appears I can't see my character.

reply
40 sats \ 1 reply \ @jasonb OP 3h

I just made them a little more transparent. You think they’re unnecessary altogether though?

reply
50 sats \ 0 replies \ @grayruby 3h

I think you should keep them in. Just noting it made it difficult to see my character. Not such a big issue early on but I am sure as the game progresses and gets more difficult it could be a reason one dies.

reply

Also it was a lot easier to just sign in with a username than an npub. I didn't bother signing in.

reply

Wow, you are very productive! Good job

reply

Hey, is there any reason on your end that your wallet wouldn't be able to accept a zap? I seem to be able to zap anyone on the leaderboard except other Alby wallets and I don't know what to do to fix it on my end.

reply

No, I don't think so? I've been receiving zaps on SN just fine

reply

Hmmm, it seems to only be Alby wallets. I think I’m missing something. Either way, I’ll try to get you hooked up soon.

reply

Thanks! I’m really excited to see what people do with the npub login option.

Oh, heads up that I changed the ranking in turtle to total wins. You’re still in the lead, but I figured this would make it less discouraging to new users than to try to beat your incredible streak. I’ll definitely change it back though if you feel like you got a bum deal out of that.

reply

it's also a lot harder to beat the streak now that real words have to be used

reply

Exactly

reply