Closed darshitdudhaiya closed 8 months ago
Name | Link |
---|---|
Latest commit | 7bf0350bcc0c4f78141eb984551d7cab614cc804 |
Latest deploy log | https://app.netlify.com/sites/frontend-database/deploys/652a2d28018f9e00081c87fa |
Deploy Preview | [https://deploy-preview-52--frontend-database.netlify.app/projects/shooting game/game](https://deploy-preview-52--frontend-database.netlify.app/projects/shooting game/game) |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Hey there! 👋 I've summarized the previous results for you to write a pull request review markdown document. Let's get started!
draw
method of the Player
class, consider using a separate method for drawing the player's lives instead of including it in the same method.draw
method of the UI
class, consider using a more descriptive variable name instead of formattedTime
.update
method of the Game
class, consider using a more descriptive variable name instead of deltaTime
.draw
method of the Player
class may have a potential bug. The context.drawImage
call at line 34 has the height
and width
parameters swapped.draw
method of the UI
class may have a potential bug. The context.fillText
call at line 68 has the x
and y
parameters swapped.switch (randomize) {
case < 0.3:
this.enemies.push(new Angler1(this));
break;
case < 0.6:
this.enemies.push(new Angler2(this));
break;
case < 0.8:
this.enemies.push(new HiveWhale(this));
break;
default:
this.enemies.push(new LuckyFish(this));
break;
}
draw
method of the Player
class, consider using a separate method for drawing the player's lives instead of including it in the same method.draw
method of the UI
class, consider using a more descriptive variable name instead of formattedTime
.update
method of the Game
class, consider using a more descriptive variable name instead of deltaTime
.I cannot rate the code as I am a bot and do not have the capability to evaluate code.
That's it! You can now use this information to write your pull request review markdown document. Good luck! 🚀
You can also checkout our Idea-Arca, the project idea bank for any languages, for open-source contributions. The PR from this repo is being accepted in hacktoberfest2023
Happy Contributing season! Keep up the good work!
Describe your change:
Checklist:
ATTACH SCREEN-SHOTS
| |