Kireet7852 / asteroids

Home Page:https://kireet7852.github.io/asteroids/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asteroids - Game from 1979

Click Here to visit website

Asteroids website is like a back to the past when the Internet was just a newborn and IT just had the first boom! After Atari and Commodore world became different forever!

Image

UX

'80s video games?

My website is prepared to acknowledge the young generation about video games from an era without www. Most of them never heard of any gaming devices before XBOX and Playstation. '80s are trendy now, so I thought that I could help the new generation to understand how it was. This website is made as well as a nostalgic journey for those who had a chance to play with Atari games when they were kids.

Let`s go back!

On my website, the user can find out a little bit about Atari. there is a text section explaining the subject with a plus button attached linked to the Youtube channel where the subject is explained wider. The same with the Asteroids game. On my website, you can find a short hint but history of a game but attached link to Wikipedia saying more about this matter.

Why Asteroids?

Asteroids are one of my favourite games on Atari, after Tetris and Space Invaders. Making Asteroids was a big challenge for me but at the same time pleasure to get it done. Currently, I'm fascinated by the '80s era. Music, Film, culture, and art. That's kind of an era that I was a baby and had an impact on my young years. In the beginning, I wanted to make my website very dark. But things were

Finally, my project got colours inspired by my favorite tv show

User stories

  • As Max, I want to have a unique experience and play with an old school game. so we can enjoy this service together.
  • As Anna, I would like to show my friends a game that I used to play when I was a kid.
  • As a grandma, I want to be able to understand my kids and explore subjects close to their hearts.

Wireframes

Image

Image

Features

Elements on every page

Navbar

In existing Navabar there is just only one element - original logo Asteroids. This logo works as a home button. Redirect player/user to the main page.

History section

History section contains 3 buttons styled in font awesome and background image showing old devices from the '80s.

  • First plus button toggle modal content explains little about the history of Asteroids.
  • Play Button in the middle has to redirect the user to go to the hidden section with game
  • Third last play button toggle another modal content but this time with embedded Youtube video about Atari and overall games from old times.

Game section

The game section contains a game build in Javascript and quick explanation whats the purpose of the game. In this section, the user can find a button to reset a game and go back to the main page. On small devices, the game is not available to play and user will find a piece of information to switch for a desktop version

Footer

On my page footer contains social links that connect directly to my Github page LinkedIn and Instagram. From social links user can find out more about the owner of a website

Features Left to Implement

  • Game is working just only on a desktop version. Unfortunately, I didn't have time for playing with animations to build a touch control on mobile.
  • There is one bug that I found out while testing - in my HTML left inline styling for canvas. I tried to fix that by adding styling in CSS but it breaks the whole website.

Technologies used

  • Html - Core of the website

  • Css - To make my website stylish

  • Javascript - To make my game with and animate buttons

  • Jquery - to simplyfy DOM manipulation

  • Bootstrap - Framework to make layout and content looking better

  • Fontawesome - Icons to make my website looking professional

  • GoogleFonts - nice choice of fonts

  • Animista - to animate my icons

  • Mockup - mockup for my readme

  • Git -version control for my project

Testing

I have done manual testing:

Hero section:

Asteroids Game plus button: - Try to press button, expected popup modal with text about the game - fully working Press Play button -Try to press play - Try to press button, expected popup modal nested youtube video - fully working

Scrolling up and down on website works

Game

Navigation of the ship when pressed a designed button - works Laser shooting after tapping in space bar - works Counting points after shooted asteroid - works Saving the best score of a game - works Losing lives after hitting by asteroids -works I discovered one bug that I can not fix because of a lack of time. In HTML left inline styling for canvas. I tried to fix that by adding styling in CSS but it breaks the whole website.

How to run this project locally

  1. Under the repository name, click "Clone or download".

  2. In the Clone with HTTPs section, copy the clone URL for the repository.

  3. In your local IDE open in Terminal.

  4. Change the current working directory to the location where you want the cloned directory to be made.

  5. Type git clone, and then paste the URL you copied in Step 3.

Credits

Content

Media

Acknowledgements

About

https://kireet7852.github.io/asteroids/


Languages

Language:JavaScript 52.6%Language:HTML 35.2%Language:CSS 12.1%