stack_game's People
Forkers
pritomkumarstack_game's Issues
Puzzle Solved Success UI Modal
If the Puzzle has solved a modal should popup saying success message and two-button named "play again" and "exit".
Minimum Number Of Move count UI and Integration
check If the circle drag and drop riches the drag and drop limit and the puzzle is solved or not.
FInd Minimum Number Of Moves To Solve The Puzzle
A method to find the minimum number of moves to solve the Puzzle after a new game is initialized.
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.
Total Time Count UI and Integration
A timer should display the time and which will indicate the total time needed to solve the puzzle.
Random Circle Stack Generate
A method to generate random circles for each stack.
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.
"Start new Game" UI And Initialize New Game
Action for starting a new game.
Integrate all components which would need to start a new game and initialize it (like show a list of random circles stack).
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.
Drag and Drop UI
Circle UI should be draggable anywhere.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.