https://github.com/ISmillex/snake-ai/assets/72645646/7e21cc04-6043-4f2d-bc7a-a3b3026a8553
Snake-AI is a 2D game built using Svelte Kit, featuring a classic snake gameplay. The game has been designed with a focus on providing an engaging and responsive gaming experience, accessible on both desktop and mobile platforms. Currently, the game does not include an AI feature, but the goal is to implement a proficient AI that can play the game intelligently. You can play the game online here.
To run the game locally, follow these steps:
git clone https://github.com/ISmillex/Snake-Ai.git
cd Snake-ai
npm install
npm run dev -- --host
http://localhost:5173
to view the game.`The game utilizes a doubly linked list algorithm for efficiently managing the snake's body and movements. This algorithm ensures constant time complexity for insertion and deletion operations, making the gameplay smooth and responsive even as the snake grows longer. Additionally, the game's design emphasizes a responsive approach, ensuring seamless gameplay across various screen sizes without compromising performance. The doubly linked list structure allows for easy traversal and manipulation of the snake's body, ensuring a seamless gaming experience for players.
To contribute, follow these steps:
git checkout -b feature/your-feature
git commit -m 'Add some feature'
git push origin feature/your-feature
This project is licensed under the MIT License - see the LICENSE file for details.