Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Johan Montelius 2020-02-19 14:00

Visa nästa >
Jämför nästa >

The game of Pong

In this lecture we're going to implement the game of Pong. E will use a Javascript front-end that runs in the browser and then program a game engine in Elixir that can run on a server.

Before the lecture you should download the following files.

  • pong.ex
  • session.ex
  • game.ex
  • websocket.ex
  • pong.html
  • pong.js

During the lecture we will try to make the server work.