you have to change the path name where you have downloaded the file to run the game
you can change the emoji from the code
you can press L to shoot and A,D to move the charecter
This function adjusts the horizontal position of the striker on the field based on the provided distance. It ensures that the striker stays within the field boundaries.
Similar to moveStriker, but controls the horizontal position of the football.
Initiates the ball's shooting animation. After a specified time, it checks if a goal has been scored and resets the ball's position.
Determines whether the ball has entered the goal area based on its position relative to the goalpost.
Displays a message indicating whether a goal was scored or missed.