Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find-Bart

Find Bart is a fun game for those who love cats and space where the user must find the planet Bart is lost in. It has an interactive UI and can be played easily on any device anywhere.

responsive Mockup

Features

  • The game area

  • The 3 planets, some text about the game, and a scorekeeper.

game area

  • background image

  • The entire game has a background image of space with all features being laid on it. (it can be seen in the game area image)

  • The footer

  • The footer is there just to be cute. features a fun fact about Bart the cat and an icon of a basketball.

footer

  • 404 page

  • a 404 page was added for good practice habits

footer

Features Left to Implement

  • Would like music to be played while the player is playing the game
  • looking to turn the mouse cursing into an animated cat while the game is being played

Testing

  • tested the style and buttons function with CSS. found that the planet buttons do not function on mobile. adjust the design with Flexbox and mobile queries to adjust. Used wrap and different dimensions to the divs.

  • Absolute footer position did not work with wrap. used margin auto instead.

  • Discovered when adding a game score div and a button that not having a flex display for the main itself causes position problems. added the style properties to fix it.

  • While making functions for the game, discovered the need for a global function for computer value storing.

  • Found out that storing a hyperlink as a button in a div is a bad idea. the button became invisible. fixed by making the div the button.

Test Action Expectation Result
Home page Responsive to 320 Elements size to 320px Works as intended
Home page Responsive to 1920 Elements size to 1920px Works as intended
Home page Instructions button explainations appear Works as intended
planets as button user is able to interact with the planets when the game is active Random location of Bart per game, cannot click when inactive Works as intended

Validator testing

  • HTML
    • No errors were returned when passing through the official W3C validator
  • CSS
  • JS
    • No errors were found when passing through the official Jshint validator. Jshint validator

Deployment

  • The site was deployed to GitHub pages. The steps to deploy are as follows:

  • in Github repository I clicked settings.

  • I then navigated to the pages tab, where I seleted deploy from branch. the branch selected was the "main" branch.

  • Click "Deploy". after a few minutes, refreshing the page should now include a link to the deployed website at the top.

  • The site was deployed using Github pages. the link can be found here - https://redsskull.github.io/Find-Bart/

Credits

Content

  • Some of the function layouts were learned and even copied(although not copy paste, the game is different) from Matt Rudge's video in the LMS of Code Institute where he shows how to build a basic JS Rock, Paper, Scissors game.

Media

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages