Browse
Login Sign Up

Ai vs Ai or Player vs Ai Python pong game

Share & earn cash

This is an advanced implementation of 2 convolutional neural networks that compete in a game of pong using pygame. Can be changed to 1 player vs Ai. Both networks evolve over time to be able to effectively play pong.

Simply launch the code (install all modules needed)

pygame==2.0.1

numpy==1.21.0

tensorflow==2.5.0

Upon first run, the program will create a player 1 & 2 model. Each successive game, these models will be updated and saved in the script directory. Models will continuously update and gameplay will gradually improve over time (approx. 250-400 games for modest improvements, while 1000+ games will yield significant improvements per model)

License type: "Own use only (no end product)". Read more.
By Spookanicka
Ai Pong Python Game Player Pygame
Reviews
Nobody has rated this offer yet.
PARTICIPATE
  • Buy
  • Offer
  • Share
LEARN
  • About
  • Blog
  • FAQ
CONNECT
  • Twitter
  • Facebook
  • Contact
LEGAL
  • Terms
  • Privacy
  • © 2025 Sellcodes
Log in to your Sellcodes account
Forgot your password?
Looking to create an account?
Sign up for Sellcodes
By creating an account you agree to our Terms Of Use and Privacy Policy
Did you mean to Login?