Giter Site home page Giter Site logo

ball_game's Introduction

Ball Game

Practicing React Components

Ankush held twitter space on Sunday 24th March, where pre requirements were in tweet.Space requirement tweet

Pre requirements

  • Create buttons on your Ul representing your arrow keys on the keyboard.

  • If the arrow key on keyboard is pressed down and not released, the same button in your Ul shows a held down effect.

  • The arrow key button on the UI can also be held down with the mouse.

  • Create a container and generate a target box of 150 X 150px and a small circle of 25 X 25px at random locations.

  • Based on what arrow key is being pressed down, move the circle 10px per second in that direction.

  • If the circle is completely within the target box, then display a success message on the screen.

Space Requirement

  • Create 3 containers

  • The controls in previous container should move the dot in next container

  • If the dot moves inside one of the control buttons, it presses that button down

Result: In progress

APK

ball_game's People

Contributors

shreya-mishra avatar

Watchers

 avatar

ball_game's Issues

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.