{"id":40,"date":"2024-11-05T19:32:08","date_gmt":"2024-11-05T17:32:08","guid":{"rendered":"https:\/\/brittprojects.com\/?p=40"},"modified":"2024-11-09T19:32:37","modified_gmt":"2024-11-09T17:32:37","slug":"code-jam-for-halloween-ish","status":"publish","type":"post","link":"https:\/\/brittprojects.com\/index.php\/2024\/11\/05\/code-jam-for-halloween-ish\/","title":{"rendered":"Code Jam for Halloween-ish"},"content":{"rendered":"<p>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&#8217;t like the character builders \/ online character sheets I&#8217;d been using and wanted to build my own.<\/p>\n<p>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.<\/p>\n<p>How hard could it be?<\/p>\n<p>Reader, let me tell you, it was &#8230; actually much easier than I&#8217;d been expecting. I didn&#8217;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&#8217;t I been using JavaScript before? This is almost as easy as Python.<\/p>\n<p>So look for a working basic prototype in the coming days.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t like the character builders \/ online character [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":3,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brittprojects.com\/index.php\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}