Language Start

Github ZIP TAR.GZ

Tanks is a simple game written in Java to test out path-finding and AI algorithms. It uses OpenGL through Lightweight Java Game Library (LWJGL2), the same library used by MineCraft.

Tanks loads maps from CSV files with each cell containing an integer. It loads both the walls and the endpoints for the paths of enemy tanks.

AI

Tanks uses A* path-finding and line-of-sight detection to patrol between two points and hunt down the player. This can be seen in the video below: