(Reshared project after taking it down myself about approximately 6 months ago. I'll give credit to @deadcheif for this one. You see, this was originally for their Warzone.io game collaboration project, but I just took it down and I still don't know the reason for it.) As you may already know by the title, I created a simple AI Battle game, within a player (left) and the AI opponent (right). For those who may not know, AI (Artificial intelligence) is the intelligence demonstrated by machines, as opposed to the natural intelligence displayed by animals including humans. This leverages computers and machines to mimic the problem-solving and decision-making capabilities of the human mind. - - - - For this project, the AI opponent will follow the player around the arena and will attack within their touch. Here's how it's set up: when the player's x is less than -10, the opponent will move towards the player's direction. Otherwise, if the player's x is greater than -10, well, you get the idea... [Arrow Keys] - Move Left Or Right [Space] - Attack Your Opponent Recent Questions [FAQ] Q: Can I use this as my own project? A: Yes, you may use this project as your own, just make sure you add credit.