Thank you ! The AI part was the longest one, but as it being a really simple state machine it was not hard, just took a lot of time