Snake Game With Demo AI
NOT a beginners code I'm afraid. The game code itself is really intermediatary/beginner, but the graphics code uses a lot of api calls. The demo ai is fairly simple, but it's managed to get a top score so far of 240. My current best is a measly 170. Fully customisable, including play-area size, player starting and finishing speeds, ai speed (you can let it cheat). Oh yeah, please note that the ai enters it's own score unless you set it not to :) Any comments are welcome (so are any votes). Enjoy the code and feel free to use or distribute it.
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload