Update Announcement

Job ID: 37397214

Budget: €30 – €250 EUR

I need a C# program that monitors game updates and notifies users on Rocket Chat about new updates. Here are the requirements:

The program must run in the background on a Linux Debian server.

I have been using SteamCMD to retrieve information about game updates. Here's an example command:

```csharp
steamcmd.exe +login "STEAMUSERNAME" "STEAMPASSWORD" +app_info_print {game_id} +quit
```

Steam returns a JSON response with all relevant information. You search for the "branch" key with the value "public" and use a regular expression match function to extract the current build ID, as follows:

```csharp
Match match = Regex.Match(section, @"""buildid""\s+""(\d+)""");
```

Using the Rocket Chat API, notifications should be sent to a specific chat channel.

The program should perform the following steps:

a. Regularly execute the SteamCMD command to retrieve information about game updates.

b. Analyze the received JSON response to extract the build ID.

c. Compare the build ID with the previous build ID to determine if there was an update.

d. If an update is detected, send a notification via the Rocket Chat API to the desired channel.

e. The program should be capable of monitoring multiple games.

Ensure that the program runs as a background process on your Debian server and periodically checks for updates. You can refer to the Rocket Chat API documentation to implement the notification functionality.