Skip to content

Track your in-game time. Auto-saves every 5 mins.

License

Notifications You must be signed in to change notification settings

AlexDeFoc/gameWatch_c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"