Algorithms and data structures in game development