18
submitted 1 month ago* (last edited 1 month ago) by illectrility@sh.itjust.works to c/rpg@ttrpg.network

So a friend of mine does a lot more DMing than I do and they asked me if I knew about a digital battle map where they could have movable tokens to keep track of effects, position, terrain, and HP more easily. We talked a bit about how it should function and agreed on this basic functionality:

  • Square grid with the ability to colorize squares to draw terrain, walls, obstacles, etc. It's 100x100 squares, we agreed that'd be enough.
  • Movable tokens with name, HP, and initiative attributes.
  • A sidebar with an overview of the tokens sorted by their initiative.
  • Automatic handling of effect duration. So if you correctly press "next turn" every time, it should automatically count down the duration of every token's effects.
  • Save and load the full map state in case a battle is split between sessions or you want to prepare the battlefield beforehand.
  • Tablet support.

I incorporated this and thought that maybe some of you might either have recommendations for a system that is better than what I've made here, or want to use it too. If you're interested, you can try it out here: https://illectrility.github.io/mapify/

It's currently in a state where my friend and I agree it's all we personally need, so I probably won't be adding more features in the near future.

Edit: I'm aware that it doesn't properly scale on smartphones. That's because it's not intended for smartphone use and I can't be bothered to implement proper smartphone scaling because it would be huge hassle and neither I nor my friend would use it.

86
submitted 4 months ago* (last edited 4 months ago) by illectrility@sh.itjust.works to c/rpg@ttrpg.network

I made a web page where you can simulate a complex dice roll sequence with conditionals (e.g. re-roll when roll is a 1) using a Python-like syntax. (Click the "Toggle Syntax" button to view examples)

It needs a second to load because it has to load a Python interpreter in the background (I'm not good at web development) but once that's done, it works really well.

It's still very barebones and I still have to work out some problems.

Maybe some of you could use it, though.

There's also just the Python version available to run locally here

Everything is GPLv3, enjoy!

[-] illectrility@sh.itjust.works 36 points 7 months ago

Probably his phone

[-] illectrility@sh.itjust.works 52 points 8 months ago

Ivan Pavlov was a Russian physiologist. During his studies, he observed that dogs would begin to salivate whenever an assistant entered the room, even if no food was present. Pavlov realized that the dogs had learned to associate the presence of the assistant with the arrival of food. He then conducted experiments where he would ring a bell or sound a metronome immediately before presenting the dogs with food. Over time, the dogs learned to associate the sound with the food, and would begin to salivate in response to the sound alone, even without the presence of food. This research on dogs became an iconic example of classical conditioning and the comic references this.

[-] illectrility@sh.itjust.works 31 points 1 year ago

Mastodon, Kbin, Lemmy and such are "compatible".

Here's an example of how to do it:

https://hachyderm.io/@maegul/110483509521476095

[-] illectrility@sh.itjust.works 42 points 1 year ago* (last edited 1 year ago)

Sorry but a word processor that doesn't trigger a 9 second laggy animation with every button press is just simply unusable

1

I'm sorry if this isn't the place to ask this, I also asked over at !python@programming.dev.

So what I want to do is this: Two RasPis are at different locations. They're on different networks but have internet access. Pressing a button on one of the Pis turns on an LED over at the other Pi via GPIO. How can I make the communication work? My first thought was Telegram bots as I'm familiar with those for notifications but you can't have Telegram bots communicate with each other, sadly. Is there a good (and secure) solution to this? Preferably using Python code and without continuous costs like server hosting, etc?

Thanks!

9

I'm sorry if this isn't the place to ask this, I also asked over at !raspberrypi@lemmy.ml.

So what I want to do is this: Two RasPis are at different locations. They're on different networks but have internet access. Pressing a button on one of the Pis turns on an LED over at the other Pi via GPIO. How can I make the communication work? My first thought was Telegram bots as I'm familiar with those for notifications but you can't have Telegram bots communicate with each other, sadly. Is there a good (and secure) solution to this? Preferably using Python code and without continuous costs like server hosting, etc?

Thanks!

356
I'm dune good (sh.itjust.works)
900
[-] illectrility@sh.itjust.works 38 points 1 year ago

There is a point in everyone's education where they realize that their teachers are actually just adults, who are just old children, that went to school a couple years longer than you.

Mad respect to teachers though. I specifically remember my computer science teacher to be the coolest and most knowledgeable guy ever.

[-] illectrility@sh.itjust.works 28 points 1 year ago

So it's all just Pythagoras?

558
972
I feel called out (sh.itjust.works)
1
Oh, figs, he hates figs (sh.itjust.works)
413
'murrika (sh.itjust.works)
1301
It's been 84 years… (sh.itjust.works)
415
This is art (sh.itjust.works)
[-] illectrility@sh.itjust.works 41 points 1 year ago

Not really no. It's a meme. Although, now that you mention it …

[-] illectrility@sh.itjust.works 156 points 1 year ago

Well first of all, fuck you smartass.

But also yes, you're right

[-] illectrility@sh.itjust.works 44 points 1 year ago

Mint is Ubuntu-based so yeah, most stuff will work.

But also: The only reason I don't recommend Ubuntu is because of Snaps and telemetry. If someone decides that they don't mind, I don't care. Everyone should just use the distro they like best

[-] illectrility@sh.itjust.works 29 points 2 years ago

You can look into Organic Maps, it's FOSS and made for hiking

view more: next ›

illectrility

joined 2 years ago