collision detection and 2d graphics architecture for arcade games 8983