Categories
Coding

Code Jam for Halloween-ish

Last weekend I had an extra day off and the prospect of a new DND campaign looming the next Monday. So like any sane gamer, instead of looking at the three (yes, three!) characters I had already rolled up as options to play, I decided that I didn’t like the character builders / online character sheets I’d been using and wanted to build my own.

So I took that motivation and did my own code jam to see how much I could prototype in my long weekend, and also make myself brush up on my HTML5/PHP and finally learn JavaScript.

How hard could it be?

Reader, let me tell you, it was … actually much easier than I’d been expecting. I didn’t get all the fields for a character sheet up and running by the end of the weekend, but after approximately 20 hours I had both a layout prototype and a calculations prototype that had the main six attributes, their basic calculated stats like AC and HP, and the saving throws done. Not bad! Why haven’t I been using JavaScript before? This is almost as easy as Python.

So look for a working basic prototype in the coming days.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.