Advertisement
6_2008-2009 Games #203561

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

AI 요약: 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.

소스 코드
original-source
Upload
원본 댓글 (3)
Wayback Machine에서 복구됨