https://github.com/alexdefoc/gamewatch_c
Track your in-game time. Auto-saves every 5 mins.
https://github.com/alexdefoc/gamewatch_c
c cli
Last synced: about 2 months ago
JSON representation
Track your in-game time. Auto-saves every 5 mins.
- Host: GitHub
- URL: https://github.com/alexdefoc/gamewatch_c
- Owner: AlexDeFoc
- License: mit
- Created: 2024-10-18T21:45:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T18:59:49.000Z (6 months ago)
- Last Synced: 2025-02-09T04:17:14.157Z (3 months ago)
- Topics: c, cli
- Language: C
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gameWatch - track your in-game time easily.
## Main menu options
1. List
2. Add
3. Remove
4. StartDescriptions:
- List: It lists the entries it finds in watch file.
- Add: Ask you for a title and adds it to watch file.
- Remove: Lists entries it finds in watch file and ask you which one to remove.
- Start: Starts the auto-save feature every 5 minutes.## Storage
gameWatch stores it's tracked time along side it's title part of the entry.
The file is called "watch".
Example of contents:
```
(Stardew Valley, 100)
(Among Us, 321)
(Undertale, 10000)
(Minecraft, 31231)
```
The application stores minutes.## Auto-save
The main reason of the creation for this app is in the case of a power outtage, your time spent is saved.
The auto-save feature is called every 5 minutes.## Limits
The app has a limit for the minutes it can hold. It's 2^32 minutes. Which is about 8185 years. ;)
But if you put negative minutes into the watch file idk what happends.## How to exit
The app will infinitely do this after you choose the start option. Therefore to exit you need to do it manually.## Cross-compatibility, Cross-compilation
I am using only standard c libraries:
"stdio.h"
"stdlib.h"
"threads.h"
"time.h"