2048-go icon indicating copy to clipboard operation
2048-go copied to clipboard

Score; Tiles; Board

Open kendfss opened this issue 3 years ago • 0 comments

  • Problem: Config file appearing in random directories
    • Cause: I'm on windows and os.Getenv("HOME") doesn't work
    • Solution change os.Getenv to os.UserHomeDir with a fallback to the directory in which the built executable is located
  • Problem: window too large for my screen
    • Solution: add a flag to control the tile size
      • Note: while implementing, I mistakenly chreated a flag for the number of tiles per row. I liked the idea of strange board shapes so I kept the flag after finding the solution

kendfss avatar Jun 29 '21 03:06 kendfss