This is an expermental project for me trying to learn how HTML5 canvas and Typescript works. I know Typescript is not used for game development, but I just wanted to learn by doing something that I enjoy more than building websites. Go to https://ritchielrez.github.io/arkanoid-in-typescript/ to try this game out.
Here are the instructions for you if you want to build it from source:
Prerequisites:
- Node
- Git
- (Preferably) Latest version of Firefox/Google Chrome
Commands:
npm install -g http-server
git clone https://github.com/ritchielrez/typescript-html-canvas
cd typescript-html-canvas
npm install
npm run build
http-server -p 8080
Then open up your browser and go to localhost:8080
to playtest the game 😃
- MDN Docs: 2D Breakout game development tutorial
- Tsoding and ThePrimeagen: for making me interested in a programming language which I had previously no incentive to learn 🙂