Breaking peers into groups and letting them compete on wargames is also a fun exercise. Not sure how this will be impacted by LLM-powered coding software, however.
I put the second puzzle into ChatGPT. It makes an extremely stupid mistake but gets lucky.
GPT gets JavaScript numerical semantics utterly wrong but the only non-integer operation is a red herring: "the result [of 14/3] is approximately 4.6667, but JavaScript will store it as 4 since we are not using floating-point numbers"
GPT gets JavaScript numerical semantics utterly wrong but the only non-integer operation is a red herring: "the result [of 14/3] is approximately 4.6667, but JavaScript will store it as 4 since we are not using floating-point numbers"