Pong: Single player vs AI in TypeScript and Vite

I made a small Pong game to share as a simple Babylon.JS example.

Source is available here on GitHub as well as a playable demo.

I’m having a hard time beating the UI, but a friend sent me a video where he did.

12 Likes

It’s been updated to have sounds, win/lose conditions, and a unit test.

1 Like

cool :slight_smile:

Whatever :see_no_evil_monkey:

EDIT:

5 Likes

Really nice implementation !

This is the best I can get :smiling_face_with_tear:

1 Like

easy !

3 Likes

I’ve updated this example/tutorial to support mobile (phones/tablets). And I’ve included a DESIGN doc that outlines how it’s put together.