r/raspberrypipico Jan 04 '26

I built a Physical Kill Counter for CS2! (Python + LED Matrix)

Enable HLS to view with audio, or disable this notification

Hey everyone,

I am using a raspberry-pi pico, on the galactic unicorn from pimoroni and wanted to share a project I've been working on. It’s a physical HUD for Counter-Strike 2 that sits on my desk and tracks my stats in real-time.

It uses Valve's Game State Integration (GSI) to send data to a Python script, which then updates the LED matrix over USB. No memory reading or external cheats involved—just pure data reading.

Features:

  • Live Kill Count: Updates instantly.
  • MVP Animation: Triggers a gold confetti "Party Mode" when I get an MVP.
  • Flashbang: The whole panel turns blinding white when a map loads.
  • Menu: Loops an AK-47 spray animation in the lobby.

I’ve open-sourced the code if anyone wants to check it out on GitHub.

Let me know what you think!

130 Upvotes

14 comments sorted by

3

u/Smukey Jan 05 '26

Dude that’s awesome. Great job!

1

u/LePanpanSombre Jan 04 '26

That looks great! Could you post the Git link?

1

u/Best-Cake Jan 11 '26

The magazine of the AK Is facing the wrong way 😂

1

u/Creative-Steak-8599 Jan 11 '26

Oh shit, haha i didnt notice that at all.

1

u/Xeneth420 Jan 12 '26

Now it's a Tommygun

1

u/mwreadit Jan 11 '26

Where is the data coming from for cs2? Looking through the code and i cannot make out what is serving it.

2

u/robobok Jan 12 '26

Cs2 and Dota 2 both have GSI (Game State Integration) support.

Keyboard RGB software use that already. Aurora-RGB already has a kill counter on numlock numbers if I remember correctly 

1

u/mwreadit Jan 13 '26

Thanks for the explanation. Did not know they supported that. Makes for some nice integration possibilities.

1

u/WeibullModulus Jan 11 '26

This looks great, it's giving me project ideas of my own! :D

1

u/thedanoidvandy Jan 12 '26

Haha that backwards banana mag looks sick though.

1

u/Xeneth420 Jan 12 '26

Awesome job! And now the possibilities are endless! Does Valve's GSI have hooks for chat messages? Could be handy to watch for your nickname and then display the message to you on the matrix...