Giter Site home page Giter Site logo

thewallgame's Introduction

  _____ _           __        __    _ _    ____                      
 |_   _| |__   ___  \ \      / /_ _| | |  / ___| __ _ _ __ ___   ___ 
   | | | '_ \ / _ \  \ \ /\ / / _` | | | | |  _ / _` | '_ ` _ \ / _ \
   | | | | | |  __/   \ V  V / (_| | | | | |_| | (_| | | | | | |  __/
   |_| |_| |_|\___|    \_/\_/ \__,_|_|_|  \____|\__,_|_| |_| |_|\___|
                                                                     
                                                                                                 

Welcome to another pong game, but this time against the Berlin's wall. Keep going, don't give up and smash it down hit by hit. Be careful, every hit makes the ball speed up!


Instructions

  • Use the trackpad or the mouse to move the racket up and down.
  • If you miss the ball you have to start over again, just wait for the trumpet to concloude it's solo.
  • Keep going, the wall is not ubreakable but after every hit the ball is going to speed up!
  • It's a game developed with HTML, CSS, and JavaScript, ensuring compatibility across every browser.
  • You don't need to install or download anything, you can play it here.

Download

  • You can download it on your local machine and run the index file on your browser to play it.
  • You can use the code and modify it as you like.

Purpose

  • This project is my first web app, it was designed and developed in 5 days.
  • This project needed to be developed using HTML, CSS, JS.
  • DOM manipulation and OOP were mandatory requirements.

JS Structure

  • script.js contains the main game loop, it defines and manage every game stage: start, lose, win.
  • ball.js contains the core of the program: collisions, speed, directions.
  • racket.js wraps the racket element.

Credits The Wall Game was developed by Jacopo Marzola

thewallgame's People

Contributors

jmarzo 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.