🐍 About the Project: Branchy Chicken Branchy Chicken is an autonomous AI snake built for the Battlesnake platform. It is designed to compete in a global arena where multiple snakes battle for survival by finding food, avoiding walls, and outmaneuvering opponents.

🚀 How it Works This project is built using Java and serves as a custom implementation of the Battlesnake API. The snake operates by receiving a JSON-formatted game state from the Battlesnake engine and responding with a move (up, down, left, or right) within a 500ms latency window.

🧠 Key Features Survival Logic: Evaluates the game board to avoid immediate collisions with walls and its own body.

Smart Navigation: Implements pathfinding to locate and consume food when health is low.

Hazard Avoidance: Recognizes the positions of other snakes to prevent head-to-head collisions or being trapped.

Java-Based Engine: Utilizes Java's robust object-oriented structure to manage game state data efficiently.

🛠 Tech Stack Language: Java

Framework: Battlesnake Java Starter (Spark/Javelin)

Deployment: Replit / GitHub

Tools: Cursor (AI-powered development)

📈 Current Status The project is currently in the MVP (Minimum Viable Product) phase, focusing on basic survival and collision avoidance. Future updates will include more aggressive positioning and advanced pathfinding algorithms like A* or Minimax for competitive pl

Built With

Share this project:

Updates