Giter Club home page Giter Club logo

ponggame-localstorage's Introduction

#Pong Game

https://www.youtube.com/watch?v=fiShX2pTz9A

We are going to develop the classic Atari game “Pong”.

Rules

  • 2 sides will play the game
  • Every side will have a vertical saver (stick or whatever :) width of 12px height 85px
  • There will be a 15px x 15px square ball which has a constant speed to a direction.
  • When ball hit saver or Top of the screen or bottom of the screen the ball will be reflected like a mirror. For ex if ball hits with 30’ it will leave with 150’ (+ - 10').
  • If ball reaches left or right side the ball disappears and opponent gets point.
  • The ball creates in center and goes to a random direction between (30’ 150’)
  • Make a scoreboard.
  • 5 point wins.
  • Save the game into local storage and resume on another page.
  • Use W up S down for left player up arrow and down arrow for right player
  • Game ends when there is no ball.

Extra Challenges

  • Make a cpu player
  • Make 2 cpu player play each other
  • When pressed space add 1 more ball. (can be played by multiple balls at the same time)
  • Make chrome extension.
  • Give ball trail effect.
  • Save the game when pressed p and on http://corporate.lcwaikiki.com/hakkimizda page we can contuniue from where we saved after we paste your code in console

Please take the following into consideration:

ponggame-localstorage's People

Contributors

yigitkg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.