# Working Pong Learning AI

**URL:** <https://forum.makecode.com/t/working-pong-learning-ai/12024>\
**Category:** Show & Tell\
**Created:** [February 4, 2022, 5:55pm UTC](https://forum.makecode.com/t/working-pong-learning-ai/12024 "2022-02-04T17:55:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [February 4, 2022, 5:55pm UTC](https://forum.makecode.com/t/working-pong-learning-ai/12024/1 "2022-02-04T17:55:01Z")

</div>

I built a simple pong AI that first doesn’t know anything when it starts playing, but gradually learns how to play by itself.

> **[Pong AI!](https://arcade.makecode.com/35470-04706-89546-39004)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

The hearts to the left tell how many wins/revisions the AI goes through, and the score to the right tells how many losses it has. Press A for debug on/off.

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [February 4, 2022, 11:25pm UTC](https://forum.makecode.com/t/working-pong-learning-ai/12024/2 "2022-02-04T23:25:50Z")

</div>

I made a new version which works better, and has a better debug mode!

> **[Pong AI V2.0!](https://arcade.makecode.com/41035-67789-66177-23641)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [February 4, 2022, 11:26pm UTC](https://forum.makecode.com/t/working-pong-learning-ai/12024/3 "2022-02-04T23:26:23Z")

</div>

Cool stuff!
