Snake game written in Typescript
Step 1: Install the Typescript compiler
Install node.js, then install typescript by using the terminal:
npm install -g typescript
Then run the typescript compiler on the source code:
tsc game.ts
After that the index.html file can be opened in any browser.