reworking animation, refactoring games state