Skip to content

Commit

Permalink
Update van.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan authored May 25, 2024
1 parent 31fd559 commit c5f53b6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/content/articles/van.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,12 @@ Scoring is another kind of collision, if either of the vertical boundaries are c
if (final.x > right.x) {
score.playerOne += 1
}
```
```

## Rendering

A game that updates state without displaying the game to the user is a meaningless game.

To render Pong we use Leaflet to embed our entities in a cylindrical projection world.

To make our game run at 60 frames per second, we can use a light weight reactive framework such as VanJS.

0 comments on commit c5f53b6

Please sign in to comment.