the latest coding fit – items & qr javascript

I had a coding fit earlier this week

I needed a way to track magical items in my DnD campaign; something with a printout containing all the notes that I could just hand out to the players. So I decided I wanted a QR code on there with the hidden info. Want to know something about that item you found earlier? lemme scan the code! Yes. this isn’t very cheat safe, but its a game for adults, don’t spoil your own fun!
The project is live on items.cone.be and info is available on gertschepens.be/items
Does what I need it to do and nothing more πŸ™‚ Little caveat; the preview item page doesn’t work correctly on my server. It uses parse_ini_string and that requires php >= 5.3.0 while my serv is on the previous version. Necessary updates when I find the time..

In the process I also realized that putting a QR code on a page is easy with jQuery; easier even than server-side using php! Neat little piece of code I want to have handy so its now on gertschepens.be/jquery

Glad to have gotten that out of the system πŸ™‚

Published by Gert

Person-at-large.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: