Source code for Flex game.