List.remove('animate');
                    }, 500);
                }
            }
        });

        const dead = setInterval(() => {
            const charTop = parseInt(window.getComputedStyle(player).getPropertyValue('top'));
            const charHeight = parseInt(window.getComputedStyle(player).getPropertyValue('height'));
            const blo = parseInt(window.getComputedStyle(block).getPropertyValue('left'));
            // const charRight = parseInt(window.getComputedStyle(player).ge