r/ProgrammerHumor • • Jun 10 '23

[deleted by user]

[removed]

12k Upvotes

615 comments sorted by

View all comments

Show parent comment

4

u/smeggysmeg Jun 10 '23

When I built a game in C in high school, this is how the computer opponent worked. It was surprisingly challenging to defeat that moves around randomly and attacks.