chrisnienart / Minesweeper

Build out a minesweeper game with game play options and top score tracking
MIT License
0 stars 0 forks source link

Create a new score metric #12

Closed chrisnienart closed 2 weeks ago

chrisnienart commented 1 month ago

Currently top scores are indicated by lowest completion time, but do not account for game difficulty. A new single value metric should be recorded that combines time elapsed, size of the board, percentage of mines. The score should be defined in a way so that a higher value indicates better performance.

Constraints

chrisnienart commented 1 month ago

Created a metric called performance for won games. Still need to test whether this metric properly balances difficulty and completion time. There is currently no tracking or assessment for games lost.

chrisnienart commented 3 weeks ago

Performance should scale at less than a linear rate with board size. Consider using log(boardSize) instead.

chrisnienart commented 3 weeks ago

Possible solution for tracking lost games: scale performance by completed percentage metric. This metric would be a function of cells revealed, board size, number of mines, etc.

chrisnienart commented 3 weeks ago

Completed percentage added in Commit b25a882

chrisnienart commented 2 weeks ago

Used completed percentage squared adffa13. Difficulty for increasing mine percentage still understated, but good enough for now.