Freelanced with Upwork
Wrote PowerShell code
I closed out an Upwork contract this evening where I helped someone with their #PowerShell based Minesweeper game.

The owner had implemented music and sound effects with a few bugs, and I was able to build some solid new sound capabilities to remove a lot of complexity around state management of the MediaPlayer object and solve the l bugs.

The new soundboard module provides simple cmdlets for playing, pausing, controlling volume and playing sound effects.

The sound effects cause the volume to dip down low until the sound effect completes. Then the volume slides back up to the original volume over a 1 second timespan to smooth the transitions out.

Also the sound effects are played on a pool of media players so as soon as you play a sound effects, the the next player is queued up so that if a new effect is played before the end of the last one, the audio of the first effect completes without getting clipped short.

All in all it was a fun, short project where I got to play with concepts in PowerShell that I hadn't experienced yet, and it was a positive experience on an Upwork contract where often people on the hiring side have unreasonable expectations.