BUG FIX – Game Picker Filtered Listing

Category: | Posted on:January 11, 2022
gamepickerfix

Before the holiday I noticed that the game listing in the Game Picker 9000 didn’t clear on submission. If the user performed a submission with the box unchecked, then checked the box and submitted again, the result would have both played and unplayed games in the listing. In order for the filter to work properly, you’d have to refresh the browser every time you toggled the checkbox. Thankfully the solution turned out to be a one-line fix. Emptying the outputList element at the top of each list generation ensures that the only results are games from the freshest API pull.

 

Tags:

Related Logs


  • UPDATE – Space Invaders

    January 28, 2025

    Quick presentational update to the Space Invaders project. Keep Shields Centered On Hit Shields will now automatically maintain a centered position when hit my an alien missile. I initially thought this was going to involve some math to determine whether the missile hit on the right or left side. I even put together a formula […]

    Continue Reading
  • NEW PROJECT – Space Invaders

    January 27, 2025

    Space Invaders is a bare-bones facsimile of the classic arcade game of the same name. Objective I wanted to take what I learned from the Asteroids Tutorial in my last project and iterate without the training wheels this time. Space Invaders has more lateral movement from the player and hostiles than in Asteroids, and has […]

    Continue Reading
  • NEW PROJECT – Asteroids

    January 9, 2025

    Asteroids is a bare-bones facsimile of the classic arcade game of the same name. Objective I want to focus on more creative projects this year in order to break up the grind of work skill development. I’ve always been passionate about game design, and there are a lot of free tools to chose from. My […]

    Continue Reading