Writing a demo for snake game
<p>I've written a snake game in Java. What I also want to do is to create a demo for that (so snake would play by itself). I've written a simple demo, but snake dies pretty fast. So, is there any algorithms or something for that kind of problem? I believe it is a little bit similar to chess game problem? <strong>I want that snake would be alive as long as possible</strong>. Thank you.</p>
