/Arkanoid

This is an Araknoid game created to learn how to use Typescript with vanilla Javascript

Primary LanguageTypeScript

ARKANOID

This project is an arkanoid game built using typescript.

The objective of this project was to start getting my feet wet with Typescrit on top of vanilla Javascript

Built With

  • Typescript
  • Javcascript

How to use it

The beloved and remembered game arkanoid consists in a spaceship located at the bottom that works as a barrier for a ball in the screen that is used to destroy the bricks on top of the screen. Depending on the color of the bricks are the number of hits that it has to take to disappear.

The objective is to destroy all the bricks without letting the ball reach the bottom part of the screen. The controls are simple, you hit the space bar to start the game and the keyboard arrows to move the bar.

Setup Locally

To run the application locally you will need to follow several steps to make it work.

First, you have to check if you have nodejs installed on your machine. For this type the following command in your terminal:

node -v

If command not found shows as a response, then go to nodejs.org and follow the instructions to install it. After completing the installation the same command should show you a version number.

Then clone the repository into your local drive and open a terminal in the root folder of the project and install the necessary packages to make it work by running this command:

npm install

This will get the project ready to run. After this run the following command to start the development server on localhost:3000/ and wait for the browser to open:

npm start

If the browser does not open or you close it by accident, but the server is still running you can type localhost:3000/ in your address bar to get into the application again.

Authors

👤 Mateo mojica

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • FreeCodeCamp

📝 License

This project is MIT licensed.