Writing tagged #tecnico

Longer pieces about technical decisions and experiences.

  1. Here To Slay, part 2: the first month

    From an Electron login screen to the first playable match in a week. What the architecture looked like before Kafka, the match as a state machine and card effects built like Lego pieces.

    Here To Slay
  2. Here To Slay, part 3: introducing Kafka

    How an event-driven systems course became the perfect excuse to take the single server apart into a gateway, a lobby and an engine that only talk through topics on a Kafka cluster.

    Here To Slay
  3. Here To Slay, part 4: Kafka Streams and in-game achievements

    A service that only watches matches and turns patterns into alerts like First Blood and Combo, using time windows, state stores and even Allen's interval algebra.

    Here To Slay
  4. Here To Slay, part 5: the new interface

    Why the first thing after the course was redesigning every screen, where the idea of a tavern at night came from, and how rolls, cards and animations started following one system.

    Here To Slay
  5. Here To Slay, part 6: a table that talks

    The "I'm ready" button in the lobby and a chat that travels the same path as every play, with a length limit, a rate limit and a history for whoever arrives late.

    Here To Slay
  6. Here To Slay, part 7: a new engine for the rules

    Why the effects system from part 2 stopped scaling once the real deck arrived, how each card became a script of steps that can stop and wait for the player, and what it was like to think this change through.

    Here To Slay
  7. Here To Slay, part 8: going live

    From a game that only ran on my machine to an executable that connects to a 1 vCPU, 2 GB server, the load test that found a lobby bug and what the first matches with other people showed.

    Here To Slay
  8. Here To Slay, part 9: the visual side and Electron

    Why Here To Slay's client is a TypeScript web app inside Electron, what that choice costs and whether it's worth swapping for a tool made for games, like Godot or PixiJS.

    Here To Slay
  9. Here To Slay, part 10: how a bot should think

    Before I started developing Here To Slay's bots, I read up on how other people build game bots. What I found about play styles, about scoring every move and about reacting at a table with several players.

    Here To Slay
  10. Here To Slay, part 11: the bots, hands on

    Halfway through developing Here To Slay's bots. How the bot receives the match and acts like a player, how it scores every move and the exact dice math.

    Here To Slay
  11. Here To Slay, part 12: threat, styles and difficulty

    The second half of Here To Slay's bots: when to challenge, how the bots team up against the leader, the three styles and the difference between the normal and advanced levels.

    Here To Slay