Minestein: Game statistics

Previous page Next page

Game statistics

Minestein gathers statistics about each user's successes and failures. The current values can be viewed, as in Figure 1, by selecting Show statistics in the File menu. The figures include Rank, Game, Time, Clicks, 3BV, Player, Date and the list can be scrolled vertically.

Minestein: statistics
Figure 1. The statistics panel. NB the values in the figure are mocked up so do not bear close scrutiny!

Along the bottom of the panel are buttons: Player, Game, Sort, Apply, Quit. When clicked, the Player button reveals a drop down menu of player names. If the user clicks on one of these names, and then on the Apply button, only the results for that name will be displayed. Likewise, the Game button drops down a list of game types: Easy, Normal, Expert, Custom and All, which can be used to restrict the list to those sets of games. The Sort button drops down the menu: Time A, Time D, Clicks A, Clicks D, Difficulty A, Difficulty D, Date A, Date D. When the Apply button is clicked after one of these is selected, the list will be sorted accordingly. For example Time A means in Ascending time order and Time D means in Descending time order.

The Player drop down menu includes an All button which shows the results for all users. When the results are shown for a single user the list is finished by a count of all the games played by the user, including the ones ending in failure.

Please note that, on Windows, I had some problems using these drop down menus. You need to click once to drop down the menu, then click again on the item you want to select. If you click and drag down to the selected item, then release, then click the Apply button nothing will happen! I think it is still waiting for the selection click, and this is supported by the fact that if you go back and click once on the selection button and then on Apply the results will be updated. Sorry if it affects you. I wasted some hours looking for what I now believe is a non-existent bug. If anyone knows otherwise, please contact me.

The results file

Minestein stores the game results in a file named .minestein_results.txt. An example is shown in Figure 2. There are two types of record: those counting total games played for each user, and those recording each successful game.



<r><p>Fred</p><g>20</g></r>
<r><p>Anonymous Coward</p><g>29</g></r>
<r><p>rg</p><g>39</g></r>
<r><c>(8, 8, 10)</c><b>2</b><t>14</t><k>2</k><p>Fred</p><d>2008-11-07 16:43:50</d></r>
<r><c>(5, 5, 5)</c><b>1</b><t>10</t><k>1</k><p>rg</p><d>2008-11-09 16:23:09</d></r>
<r><c>(5, 5, 5)</c><b>1</b><t>15</t><k>3</k><p>rg</p><d>2008-11-09 16:21:55</d></r>
<r><c>(5, 5, 5)</c><b>0</b><t>17</t><k>0</k><p>Fred</p><d>2008-11-07 16:46:34</d></r>
<r><c>(5, 5, 5)</c><b>1</b><t>17</t><k>4</k><p>rg</p><d>2008-11-10 14:51:52</d></r>
<r><c>(5, 5, 5)</c><b>3</b><t>12</t><k>3</k><p>rg</p><d>2008-11-10 14:52:08</d></r>
<r><c>(5, 5, 5)</c><b>3</b><t>12</t><k>3</k><p>rg</p><d>2008-11-10 14:52:24</d></r>
<r><c>(5, 5, 5)</c><b>3</b><t>22</t><k>2</k><p>rg</p><d>2008-11-10 14:52:49</d></r>
<r><c>(5, 5, 5)</c><b>2</b><t>18</t><k>0</k><p>rg</p><d>2008-11-10 14:53:11</d></r>
<r><c>(5, 5, 5)</c><b>2</b><t>18</t><k>1</k><p>rg</p><d>2008-11-10 14:53:33</d></r>
<r><c>(5, 5, 5)</c><b>3</b><t>17</t><k>2</k><p>rg</p><d>2008-11-10 14:53:54</d></r>


Figure 2. Example file section to show the format. Records start with <r> and end with </r>, etc. <p> is player name; <g> is games played; <c> is (cells_across, cells_down, mines); <b> is difficulty in 3BV; <t> is time in seconds; <k> is clicks; <d> is date.

Last updated: 2010-01-20    Sitemap