Skip to content

patrycja-io/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids - Game from 1979

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.

Go to the Social Links in footer section

Try to press on Github icon and be redirected to Github opened up with my profile - fully working Try to press on the Instagram icon and be redirected to Instagram page opened up in new tab with my profile - fully working Try to press on the Linkedin icon and be redirected to Linkedin opened up with my profile - fully working The project is fully responsive on large screens as well as desktops or laptops and medium-size devices. Pixel 3XL and small phones as iPhone 5s. There is no bugs and website fully works on browsers like Firefox, Opera or Internet Explorer.

Deployment

  • To deploy my website I had to log on to browser to my personal GitHub account s and click on my repository with Asteroids - Milestone 2 project - that was patrycja-io/asteroids. Once I clicked my repo I showed a screen with setting and I had to click on this button like above:

Image

  • Than on settings I had to scroll to the end of this page :

Image

  • Than to find a section with Github Pages and click on source/ none button. And than from toggle menu change it to master branch:

Image

  • After when page refreshed I had a ready url with deployed website:

Image

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.


git clone https://github.com/patrycja-io/asteroids

Press Enter. Your local clone will be created.

Credits

Content

Media

Acknowledgements