SsamuelGit / simplesnakegame-2.0

The newer version of snake.
1 stars 0 forks source link

New function for calculating the cell size doesn't work #7

Closed SsamuelGit closed 2 months ago

SsamuelGit commented 2 months ago

I wrote a new function that should calculate the number of rows and columns from the cells of the canvas grid. The problem is that the function always returns the integer -1. Things to do for solving this problem:

  1. sleep
  2. look over it again
  3. ask @theDEVpro0 to look over it
  4. ask ChatGPT
  5. ask @MarkusWill

Normally I would debug my code in vs code, but that doesn't work with github repositorys or Visual Studio Code has an internal error.

SsamuelGit commented 2 months ago

fixed at 34th commit. solved this problem with asking ChatGPT