Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new highscore feature #134

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

uewekenuewe
Copy link

Dear Mr. Primeagen,

I implemented an additional feature to log highscore values within the statistics file. First line of this file will be used to store best average values for every gameType

Example file entry:
ci{:10.00,relative:10.00,hjkl:10.00,whackamole:4.00,words:1.82
following this pattern
gameType:\d{2}.\d{2}

stored values are also visiable within the main menü

Example:

Select a Game (delete from the list to select)
----------------------------------------------
[x] words 			 | 1.82 sec
[ ] ci{ 			         | 10.00 sec
[ ] relative 			 | 10.00 sec
[ ] hjkl 			         | 10.00 sec
[ ] whackamole 		 | 4.00 sec
[ ] random

Feature can be enable or disable via VIMRC with
vim.g.vim_be_good_save_highscore = true

Kind regards,
Uwe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant