Foundations for elf game