Giter VIP home page Giter VIP logo

stack_game's People

Contributors

pritomkumar avatar sabadia avatar

Watchers

 avatar

Forkers

pritomkumar

stack_game's Issues

Stack And Circle UI Integration

The stack can hold a list of the circle's object and display them as a stack view.

A stack should have methods like "push" to add and show a circle UI in the stack.
A stack should have methods like "pop" to remove a circle UI from the top of the stack..

Drag And Drop Integration With Stack

When a circle object is dropped to a stack area named "X", Stack "X" should detect it and place it at the top of the circles it already has.

When a circle object is dragged away from a stack area named "X", Stack "X" should detect it and remove (if it is the top circle) it from the top.

Game Over Modal UI and Integration

If the circle's maximum move is completed and the puzzle is not solved a Modal should popup saying "game Over". And should have options "play again" and "exit"

Generic Stack UI

(Only Stack UI)
A class which would create a stack view as passing arguments holds a list of the circle class object and also show them such as stack view.

Stack objects need to be generic so that we can pass arguments like stack color and position for reuse purposes.

Project Initial Setup

Environment setup for the project.

dependencies-
npm package manager initialization.
environment for working with typescript.
Jquery support for the project
Basic project tree generate.
basic HTML and CSS to start with.
integrate everything together.

Generic Circle UI

Create a class which is a type of circle and has color, position x, position y, radius as it's property.

This will create a circle UI and in the constructor, it should take circle color, position, and radius (optional) as an argument.

output- will drow a circle as spec and place it as passing argument.

Is puzzle solved check

every time a circle is being moved It should check if the puzzle is solved or not

return -
true --if solved
false --if not solved

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.