Series

Make It Dark

Building a light-switching puzzle game with Svelte: planning the architecture, writing the game engine test-first, then hooking it up to the UI.

6 posts, oldest first

A grid of puzzle lights, some lit and some dark, above a synthwave grid
  1. 7 min

    Make It Dark - My First Look into Svelte

    As I continue to navigate the dynamic world of web development with React, which remains a staple in my day-to-day work, my journey has been one of continuous learning and adaptation. Over the past 7+ years, React has not just been a…

    #Svelte

  2. 9 min

    Make It Dark - Linting and Testing Libraries

    In the development journey of Make It Dark, I emphasise maintaining high standards of code quality. This commitment extends beyond pursuing functional, bug-free code, embracing a holistic approach that incorporates meticulous linting…

    #Svelte

  3. 8 min

    Make It Dark - Turning Requirements into Code

    Ah, finally, the moment has arrived where we transition from meticulous planning to the exciting phase of writing code. Up to this point, the focus has been on laying a robust foundation: establishing the project's architecture, embracing…

    #Svelte

  4. 11 min

    Make It Dark - Putting the Engine Together

    After constructing the core classes for Make It Dark—GridManager, LightToggleStrategy, and WinConditionChecker—the next step is to develop the GameEngine. This phase involves integrating these components to work together seamlessly. The…

    #Svelte

  5. 9 min

    Make It Dark - Hooking up the Engine to the UI

    After meticulously crafting the foundational classes like GridManager, LightToggleStrategy, WinConditionChecker, and assembling them into our "finely tuned engine," the GameEngine, the stage is set for the final act: bringing Make It Dark…

    #Svelte