Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow going to next level iff top block falls and other blocks do not fall #6

Closed
championswimmer opened this issue Apr 29, 2017 · 7 comments

Comments

Projects
None yet
6 participants
@championswimmer
Copy link
Member

commented Apr 29, 2017

No description provided.

@championswimmer

This comment has been minimized.

Copy link
Member Author

commented Apr 29, 2017

iff == if and only if

@asutosh7hota

This comment has been minimized.

Copy link
Contributor

commented May 5, 2017

I wanted some more explanation in the problem statement,

  1. I have to click reset level every time I kick the ball, might be successful or unsuccessful.(The chances are also not being updated, they are updated only after hitting reset level)
  2. The ball travels infinitely if it falls out of the ground, should I add a condition here too?

Should we change the code such that when the bird falls, it would go to the next level without clicking the reset button?

@prateek27

This comment has been minimized.

Copy link
Contributor

commented May 19, 2017

  1. Make changes after every unsuccessful try, the ball should stop after moving some distance and level should be reset. When only top block falls - next level should start.
  2. Yes ball shouldn't travel to infinity. Make required changes.

Bounty is 200 points for above changes.

asutosh7hota pushed a commit to asutosh7hota/angry-coders-game that referenced this issue May 20, 2017

prateek27 added a commit that referenced this issue May 20, 2017

Merge pull request #11 from asutosh7hota/master
allow going to next level iff top block falls and other blocks do not fall #6
@asutosh7hota

This comment has been minimized.

Copy link
Contributor

commented May 21, 2017

@prateek27 The infinite ball and box fall is fixed however I would like to know your insights on the proper approach to this. I hope when the ball collides with just the top block, you win the game.

the other boundary conditions must be:

  • Both the ball and top block can fall of the floor.

  • The ball remains on the floor and top block falls

  • the top block remains on the floor after being hit and the ball falls down the floor.

Are there any other boundary conditions that I must take into consideration?

@Vatsalgarg1617

This comment has been minimized.

Copy link

commented Jun 7, 2017

@championswimmer sir I would like to contribute on this project. Is this is resolved ?

@VibhorCodecianGupta

This comment has been minimized.

Copy link

commented May 28, 2018

@championswimmer is this still active?

@prajwalkpandey

This comment has been minimized.

Copy link
Contributor

commented Jul 5, 2019

i need some explanation...
by top block shoul fall but not others...
Does it mean top block should fall infinitely and others can fall on the ground...
or top should fall infintely and others cont even fall to the ground level....

and to win is it necessary that ball wont fall infintely even when top block fell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.