Logical part, loop, and basic drawing are done.