Again, this might not fit into one issue, but here's some thoughts on integrating AI:
- It should run on the server
- Implement a thread which sends key input events to a buffer every so often
- Make sure that thread has read-only access to the current game state
- Look at the current game state and do some maths (interpolation, projectile motion, etc.) before outputting an optional keypress
Again, this might not fit into one issue, but here's some thoughts on integrating AI: