Code Journal

  • Raycasting in PyGame V0.1

    I have been wanting to experiment with different methods of input for machine learning in games. I know raycasting can be a fairly effective method of detecting nearby objects for the AI player so I wanted to see if I could get that working in PyGame. It is nowhere near perfect but for a first…