Skip to content

neekeetab/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong

Pong iOS game

You can play together or against a bot. You can also enable two bots playing against each other if you will.

The game was designed to easily add new implementations of bots. You can do this by subclassing from Player which exposes the ball reactive property. The Ball is characterized by its location and direction. Based on these two properties, you can then move a racket by setting the y reactive property of the player.

All the logic is reactive and has a CADisplayLink events at its source.

About

Pong iOS game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published