pull down to refresh

Hi all
In the last couple of weeks I was getting more familiar with running my own Lightning node and wanted to use this new knowledge to make something cool. The outcome is a game called Satoshi Strike.
It's an online browser game where you compete against other players in a tank battle arena. You pay a small fee to enter and if you win, you get a larger payout.
I haven't tested it at scale yet, so apologies if you run into any troubles let me know :)
I also set the room size to two players for a start so that they fill up faster. Later, my idea is to allow larger rooms where your earning potential is higher.
Let me know what you think! :D
PS: It’s neither optimized nor really playable on mobile. Only desktop for now :)
wanna try, wanna try, wanna try.
...but alas, nobody wants to fight me:(
reply
The judo training is intimidating
reply
...and I lost in two seconds.
GOD WHAT AN INTIMIDATING GAME
reply
Thanks for trying it :) maybe I need to make the WASD navigation a bit more clear? a lot of people try using arrow keys. or maybe just allow both?
reply
Awesome!
I paid 50 sat but am still waiting for an opponent. Maybe you need some NPCs lol.
Any chance to integrate webln for payments? That way we could just pay via the Alby browser extension instead of copy/pasting invoices. Just a thought!
===
Oh no! Looks like someone hopped on while I wasn't looking and I got matched and defeated without me even realizing it. 😅
reply
hahaha that happened to me too... was out in the kitchen and heard the intro tune, fuck and before I was bad I was dead
reply
NPCs is actually a good idea as an 'starting help' :) I will have a look. I hope that the wait times get a bit lower if the game is spread a bit more over the internet but it was also a worry of mine that in the beginning the low player count might be a bit frustrating. Will think about what can be done. Regarding webln, i will check this out. I am just getting started with lightning development. was already nice to get lnurl withdraw to work haha. Thanks for the input!
reply
👍👍👍
reply
28 sats \ 5 replies \ @Wumbo 17 Apr
Very well done.
For anyone wondering, it is 50 Sats buy in per Game.
reply
Thank you very much! :) While I was building I thought multiple times how awesome lightning is. Also tried some other bitcoin lightning powered games online. It's just so seemless. No bs signup, pay, play, withdraw.
reply
What is the logic for rockets?
How many can you shoot before the cool down happens?
reply
Hi, I set it to 10 bullets every 5 seconds. You think it's too much?
reply
0 sats \ 1 reply \ @Wumbo 17 Apr
I think it is fine. I only ask because I got killed in a cool down period.
reply
Good point. Maybe I'll make a little manual or something so players know ;)
Awesome!
reply
21 sats \ 0 replies \ @anon 17 Apr
Come and get it
FrankTheTank
reply
hi this seems like a solid idea and 100 percent im in, i agree that such games need to be popularized at least before the end of the year well done man. but the only issue i have faced is that no other players joining the game i hope more and more players would join the game i have waited for more than 30 mins and no one showed up and when i forget about it it says that i have lostand one more thing the gameplay needs to be designed well as to the gameframe it doesnt syncing with time and even my tank wouldnt show up and it says that i have lost haha. great game idea bro and hope that you may conisder it as a future project fr more enhancement
reply
Thanks! very appreciated! Yes, the low player count is an issue I expected for the beginning. the long waiting sucks. as someone here suggested i might add some npc's at least for the start. as for your connection issue, where are you (roughly) connecting from and how good is your internet speed generally? i placed the server in central europe, so maybe from australia for example latency might be not so great. at least for me it seems to run smooth. but definitely, i wanna improve the game on all fronts. so thanks for your feedback!
reply
yeah the connection latency is kind of an issue we may blame the wires for that bro haha. but overall nice project i loved the concept and that everyone has the ability to participate. if possible i may suggest to make the field kind of look like that retro tank battle from super mario era i think that will be awesome.
reply
OMG I just won, awesome. 90 sats
It's basically wii tanks.
EDIT: Add a Waiting List
So that you know if others are waiting.
reply
Yeah, I remember Wii tanks (or whatever it was called) very fondly from my childhood. Back then I always wanted an online mode for it :D
Good point regarding the waiting list. I will add it in the next update! Thank you!
reply
I haven't tested it at scale yet, so apologies if you run into any troubles let me know :)
Let me test it. The power of LN.
reply
What's the name of this game?
reply
i called it satoshi strike ;) just follow the link try it
reply
This game is not fully developed and has some glitch as well
reply
Yes, the game is definitely in development, that I wrote in the intro ;) But i just checked and saw that my lightning node crashed in the middle of the night. Someone ddosd me (or some process went wild) and crashed the instance it seems. was the glitch you are speaking of that you could not generate an invoice and therefore not enter the game? in any case, i restarted it now and hardened some endpoints. works again. need to investigate the root cause further though.
reply
Great work, how did you build this? would love to see the code
reply
hi, thanks a lot! i built this with websockets and nodejs. a typical stack for real time applications. in the background i am calling functions of my lightning node to generate invoices and verify payments and so on. concerning the code, in this phase of the development i am not super keen on making it open source. I am sure there are some potential vulnerabilities that some bad actors would love to exploit. later on it's something i would consider though. maybe also collaborate with other programmers.
reply
OK, I just keep losing.
Guess I gotta keep grinding (#935981).
Also, how much do you win from winning? (as in... how many games ought I play while I keep losing?)
reply
Alright, so 90 sats for winning.
Nice lil racket there, stacks! 2x50 and only kick back 90.
...guess it's better than a lottery
reply
:D a racket? haha okay. i put a lot of work into it and the server is also not free. in any case, if you are good at it, you basically make an 80% return on your investment every game. i plan to make more room sizes and different buy ins later if there are more players. then you'll have lots of options regarding what you are willing to risk/pay
reply
btw. just saw your chess grind post ;D happy to challenge you in chess for a couple sats. I think i am roughly your level (even though i haven't played for a long time, so don't have all openings ready anymore)
reply
huueeee. Yeah, sure I'm game. (though I'm in a horrible slump right now, so that's basically free sats for you) https://link.chess.com/friend/wsLowU
reply
just had to make a new account. made an account and added you ;)
i can't challenge you with a new account it seems ;) feel free to challenge me. 100 sats for the winner :) k?
yah, I guess so, guess so.
So far I have basically just bankrolled some dude who I keep losing to
reply
Waiting for the mobile version.
reply
I'm in, if anyone is looking to join in the next 15 minutes...
reply
Haha, i couldn't figure out the controls before getting killed, twice.
reply
I was just playing with you ^^ jump in again, i give you time
reply
Haha, figured it out. Gotta go now. Arrow keys didn't work, one has to use the letters to move. I'm old, I haven't played games in years~~
Good job on integrating LN w the game.
reply
this time you got me. hope the withdrawal worked ;) i have to unfortunately run now. thanks for playing and happy to hear your feedback
reply
Will try once on mobile
reply
it's only really working on desktop :D
reply
You should have stated this earlier. Thanks though
reply
PS: It’s neither optimized nor really playable on mobile. Only desktop for now :)
reply