Skip to content

Repository files navigation

SQUASH

Welcome to Squash!

This is a single player arcade game inspired by Atari's 1972 Pong, written in HTML, SCSS and TS using BEM methodology.

The aim of the game is to score as high as you can, which you can access from this link: https://jaybains.github.io/squash/

Please enjoy and thank you for playing!

Issues

  • Ball is slow on small screen sizes.
  • Small screens display a square game container, making ball trajectory obvious
  • Ball speed increases exponentially.
  • High scores do not save

Checklist

HTML/CSS

  • Score counter
  • Highscore counter
  • Game container
  • Ball
  • Paddle
  • Retro aesthetic
  • Start menu
    • About page

TS

  • Game loop
    • Paddle
      • Movement
        • Mouse input
        • Touch input
    • Ball
      • Movement
        • Speed increase over time
    • Collision
      • Left wall
        • Ball changes trajectory
      • Right wall
        • Ball changes trajectory
      • Top wall
        • Ball changes trajectory
      • Paddle
        • Ball changes trajectory
        • Score ++
        • Audio
      • Bottom wall
        • Highscore check
        • Reset game

About

Browser based game inspired by Pong.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages