An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# gameWatch - track your in-game time easily.

## Main menu options
1. List
2. Add
3. Remove
4. Start

Descriptions:
- 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"