Monday, May 18, 2015

2d - TRON: Game A.I algorithm?


Lightcycles or whatever it was called like.




Given a 2d array representing the game map, where each element can be either 0 or 1 (0 representing blank space and 1 representing filled space), what is the algorithm used for TRON enemy A.I?



Answer



I haven't had the chance to dig through their code, but Armagetron Advanced is an open-source relatively mature lightcycle battling game.


You can find the source (and executables) here: http://armagetronad.net/downloads.php



No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...