If you have any questions, please contact #docs
on the Docker Community Slack.
This project demonstrates an AI-powered Snake game with TensorFlow.js. Game allowing users to either play manually or let the AI control the snake.


[Describe the directory structure of the project repository]
- index.html - Main webpage hosting the game interface & loads library
- ai.js - AI model integration and decision-making
- script.js - Game logic and user interactions
- style.css - Theme and color settings
- Dockerfile - File to build the container image
git clone https://github.com/harsh4870/Snake-AI-TensorFlow-Docker.git
cd Snake-AI-TensorFlow-Docker
```sh
npm i http-server
```
OR
```sh
pip install httpserver
```
```sh
http-server
```
OR
```sh
httpserver
```
docker build --platform linux/amd64,linux/arm64 -t sanke-game-ai:v1 .
docker run -p 8080:80 sanke-game-ai:v1
Open URL in browser
http://localhost:8080
This project is licensed under the Apache 2.0 License.
Since this project is intended to support a specific use case guide, contributions are limited to bug fixes or security issues. If you have a question, feel free to open an issue!