On the Subject of Long Beans
Me and the boys at 3 am peeling B E A N S
This module looks similar to Beans, but with a few differences. There are five pods initially, but peeling a pod or hovering over a pod will reveal its beans. A pod can have up to two beans, however some of a pod’s beans may be missing. To solve the module, you must eat three beans (but no more). If no valid beans are present, the module will not strike you for eating a different one. Attempting to eat an invalid bean will cause a strike. Eating more than three beans will also cause a strike but the module will stay solved. Note that you cannot see a bean when it has been eaten.
Finding Valid Beans
The module will always have one valid bean. To find this bean, take the beanary representation of the current state of the beans (0 = not present, 1 = present), convert it to decimal and subtract 10 until it is within 0 and 9. This value is the position of the valid bean [indexed at 0]. Luckily, the beans are more hygienic and have taken precautionary measures (bean sanitizer, bean shells, etc) so this means that adjacent beans can still be eaten. Note that eating a bean will change the beanary, causing a change in the valid bean.