You are browsing as a guest. Sign up (or log in) to start making projects!

Pong - Player Vs. AI

  • 2 Devlogs
  • 13 Total hours

This is my first time training an AI on anything

Open comments for this post

9h 7m 32s logged

Got distracted with exams and forgot to do devlogs, so this may be a bit long: I finished the entire code for the game, adding the new AI. I used NEAT-Python to train the AI, and trained it for 100 iterations (training time is not counted as coding time for Stardance). The training took around 3 hours, and the actual coding of the AI took about 8 hours. Great use of time during exams (this is also my computer science final project, so not actually a waste of time). Apparently, coding AIs is hard (thank you whoever made NEAT-Python’s documentation, it’s very useful). I also made it modular, meaning you can easily change it to be player vs. NEAT AI, NEAT AI vs. basic (ball’s y-cord following) “AI”, or any other combination. I also wrote a detailed README in Google Docs, so it didn’t count towards my time :(. Now all I have to do is figure out how to make this run in a browser, and I’ll be done. (image is of the NEAT AI training with the “modularity” code at the top)

Got distracted with exams and forgot to do devlogs, so this may be a bit long: I finished the entire code for the game, adding the new AI. I used NEAT-Python to train the AI, and trained it for 100 iterations (training time is not counted as coding time for Stardance). The training took around 3 hours, and the actual coding of the AI took about 8 hours. Great use of time during exams (this is also my computer science final project, so not actually a waste of time). Apparently, coding AIs is hard (thank you whoever made NEAT-Python’s documentation, it’s very useful). I also made it modular, meaning you can easily change it to be player vs. NEAT AI, NEAT AI vs. basic (ball’s y-cord following) “AI”, or any other combination. I also wrote a detailed README in Google Docs, so it didn’t count towards my time :(. Now all I have to do is figure out how to make this run in a browser, and I’ll be done. (image is of the NEAT AI training with the “modularity” code at the top)

Replying to @mmach5000

0
1
Open comments for this post

3h 27m 16s logged

Made Pong with a controllable player and a very basic “ai” that just moves to the balls y-cords

Made Pong with a controllable player and a very basic “ai” that just moves to the balls y-cords

Replying to @mmach5000

0
1

Followers

Loading…