About 3,110,000 results
Open links in new tab
  1. python - Creating AI for Pong game - Stack Overflow

    Jul 29, 2012 · I'm using Kivy and Python. Currently I can create impossible to beat AI by doing this: where self.player2.center_y is the y coordinate for the NPC (it only moves on the y axis) and self.ball.y is the y coordinate for the ball. I followed the tutorial on the Kivy site to …

  2. Write an AI to win at Pong from scratch with Reinforcement

    Sep 25, 2016 · Write a Neural Network from scratch. Implement a Policy Gradient with Reinforcement Learning. Build an AI for Pong that can beat the computer in less than 250 lines of Python. Use OpenAI gym....

  3. Developing a Traditional Pong Game Using PyGame - Medium

    Mar 14, 2024 · This article explores how to develop a traditional Pong game using PyGame and elevate it by incorporating an AI opponent, adding layers of complexity and fun.

  4. Create pong game using Python – Turtle - GeeksforGeeks

    Sep 4, 2024 · Below is the complete python program to create pong game using turtle library. (hit_ball.ycor() < right_pad.ycor() + 50 and hit_ball.ycor() > right_pad.ycor() - 50): hit_ball.setx(360) hit_ball.dx *= -1 if (hit_ball.xcor() < -360 and hit_ball.xcor() > -370) and \

  5. Ping Pong Game with Reinforcement Learning - CodePal

    Learn how to create a ping pong game in Python using reinforcement learning and machine learning libraries like TensorFlow or PyTorch.

  6. Tutorial : AI to play game Pong using reinforcement learning

    Apr 21, 2020 · Tutorial: Python code from scratch for AI to play the game Pong with OpenAI gym, applying neural network and reinforcement learning.

  7. SmartPong: Train an AI to play Pong using reinforcement ... - GitHub

    In this project, we analyzed the Atari game called Pong, and through the reverse engineering technique, we learned how we can train an AI model to master the game pong through the deep neural network using reinforcement learning algorithm.

  8. How to Create a Pong Game in Python - The Python Code

    Discover how to craft a Pong game with Python and Pygame through a comprehensive tutorial, gaining hands-on game development skills. Learn key concepts like rendering graphics, managing game state, and handling user input while bringing your code to life in this engaging guide.

  9. Mastering Ping Pong with AI - Toolify

    We will start by creating the game of ping pong using Python code and then convert it into a gym environment for reinforcement learning. NEX t, we will Create a DQN model and training loop to train the AI. We will also implement predictive behavior to imp Rove the AI's performance.

  10. Deep Reinforcement Learning for Ping Pong - Medium

    Mar 26, 2020 · Build an AI for Pong that can beat the so-called “Computer” (hard-coded to follow the ball with a speed limit for a maximum speed of slider).

  11. Some results have been removed
Refresh