Tag

AI heuristics

1 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Aug 22, 2018 · Game Development

Building an AI-Enhanced Snake Game in C

This tutorial guides you through building a classic Snake game in C using a top‑down design that includes a refresh loop, keyboard or AI‑generated commands, structures for snake, food, and map, queue‑based body handling, random food placement, hard‑coded maps, collision detection, and heuristic AI to steer the snake toward food while avoiding self‑collision and obstacles.

AI heuristicsC programmingSnake Game
0 likes · 4 min read
Building an AI-Enhanced Snake Game in C