You are browsing as a guest. Sign up (or log in) to start making projects!

1h 18m 52s logged

Last small improvements on my ghost game 👻

Code

I reorganized parts of the code to make it, hopefully, more readable.

Permission problems

I have a browser with a bit more strict rules that broke my game. For that i made a check if the browser lies about color values of pixel and if that happens, we tell the user to please give us the permission.

Canvas sizing

Now after every try, of the game, the canvas resizes instead of only when reloading the page completely.

What could be added?

I had some ideas for what could be next. But i want to have a shipped project + move on with other projects. So i only list them here because i thought they are interesting.

  • A seed calculated randomness generator to play against friends with same picture.
  • More options of backgrounds and ghosts.
  • Different ghost sizes.
  • Different art styles.
  • Dark mode.
0
1

Comments 0

No comments yet. Be the first!