Code Monkey home page Code Monkey logo

wave-jump's People

Contributors

calcarlson avatar danielwbolson avatar joekarlsson avatar lisamabley avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nguoianphu cjac35

wave-jump's Issues

Score Counting Bug

I discovered Wave Jump through the Global Game Jam website. It's a neat solution to the theme of the challenge. Thank you for creating and sharing this!

While playing the game, I observed that the score could accumulate by 1 to 3 points for Player 1, while Player 2 only accumulated points one at a time.

There might be a secondary issue as well. For each player, 2 additional markers follow around the principal one. I noticed that I could not collide the cloned markers with the target zone (aka cyber portal).

Player 1 multiple scoring
The easiest way to reproduce this is to use the (W,A,S,D) keys to move your cursor above or below the target. Move vertically to intercept the target. Observe the difference in your score before and after.
Compare this with the behavior for Player 2, performing similar actions.
Player 1 tended to score 3 points fairly often.
Player 2 tended to score 1 point exclusively.

Secondary object non-collisions
To reproduce this, use the arrow keys on the keyboard to manipulate Player 2's objects.
You will need to traverse the game board a bit to separate the cloned objects which follow your principal player marker.
Try to get one or more objects below the wave, if your target is also below the wave most of the time.
Moving left to right as well as up and down, you can separate them.
Next, move in such a way to cause the following objects (which don't have the blue tracers) to intercept the target.
In my observation, these secondary objects will not register a collision with the target.

Perhaps these two topics are related.
I reviewed the source here on Github, but didn't notice any root cause.
Perhaps checking it out and running it as per your build instructions might help.

Tested in two web browsers by visiting the published game's website.
Firefox (Quantum) 64.0
Google Chrome Version 71.0.3578.98
both 64 bit.

Play 2 Scoring Limited to 1

Observations:

  • Player1 tends to score between 1 and 3 points when they score.
  • Player2 seems to always be limited to 1.
  • Player2 cloned objects don't seem to be able to collide with the target zone. They appear to pass through it, without counting as a
  • win.

The easiest way to reproduce this is to move your ball to the wave above the target and drop down.

The same behavior was experienced in Firefox and Chrome.
I was playing the game through your public URL
https://wave-jump.herokuapp.com/

The area where I'd have expected the issue to arise would have been in the switch statement within endGameCollisionHandler. My JavaScript is not very good. In fact, I think I stopped learning new things in 2008.

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.