{"id":7,"date":"2025-06-27T12:00:00","date_gmt":"2025-06-27T12:00:00","guid":{"rendered":"https:\/\/eric.tedjamulia.com\/blog\/axis-allies-wwi-calculator\/"},"modified":"2025-06-27T12:00:00","modified_gmt":"2025-06-27T12:00:00","slug":"axis-allies-wwi-calculator","status":"publish","type":"post","link":"https:\/\/eric.tedjamulia.com\/blog\/axis-allies-wwi-calculator\/","title":{"rendered":"A little help with Axis &#038; Allies"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Our Axis &amp; Allies WWI game has been going on for months. Daniel, Shantell, and I keep trying to figure out what we can afford before committing to a move, so I made a little unit calculator. Much easier than adding the same numbers over and over!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I had some help from AI with this one. Underneath the animations it is plain HTML, CSS, and JavaScript. Each unit has a fixed IPC cost and a count; the plus and minus buttons update the unit subtotal and the total purchase price. Counts cannot go below zero, and Clear All starts a new shopping list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I also had fun with the floating numbers, button ripples, and confetti. It is not calculating battle odds or telling us which move to make. We still have to argue about that part ourselves. \ud83d\ude42<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/etedj.com\/projects\/AxisAlliesWW1\/\">Use the calculator<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our Axis &amp; Allies WWI game has been going on for months. Daniel, Shantell, and I keep trying to figure out what we can afford before committing to a move, so I made a little unit calculator. Much easier than adding the same numbers over and over! I had some help from AI with this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,5,3],"class_list":["post-7","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games","tag-board-games","tag-family","tag-javascript"],"_links":{"self":[{"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/media\/8"}],"wp:attachment":[{"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eric.tedjamulia.com\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}