Urgent.News

What's breaking now, across thousands of outlets.

Tech

Daily Pokémon Battle Game

I Built a Daily Pokémon Battle Game as a Browser-Based Strategy Puzzle I wanted to explore whether a turn-based battle could work as a small daily puzzle instead of an endless progression system. The result is Daily Red Pokémon: a free browser game where you face the same six-Pokémon team once per local day. The goal is not to collect items or grind levels. It is to make a few meaningful…

The author created a daily Pokémon battle game as a browser-based strategy puzzle called Daily Red Pokémon. The game presents players with the same six-Pokémon team each local day, with the goal of making meaningful decisions rather than grinding levels or collecting items. The daily constraint ensures that every player faces the same team on any given day, creating tension for failed official battles while allowing unlimited practice attempts.

The game saves player progress in the browser, enabling users to resume unfinished battles later without needing an account or server-side profile. The battle simulator runs in a browser Web Worker, keeping the interface responsive while turns process. Using Gen III battle data and damage rules, the simulator calculates physical and special damage based on move type, with additional factors including weather, status effects, held items, abilities, move PP, switching, and fainted Pokémon.

A simple heuristic is used for the opponent AI, scoring legal moves based on estimated damage, accuracy, type immunity, status effects, recovery, and setup moves. This approach makes the opponent consistent but not perfectly optimal, allowing for interesting mistakes.

The user interface centers around a few repeated actions: choosing a lead Pokémon, inspecting available moves and PP, selecting an action for the current turn, reading the event log, and switching when necessary. Practice sessions don't overwrite the official daily record. The game operates without a backend, keeping hosting simple and relying on Astro's static file generation.

The author learned that visible rules are crucial for player learning from losses and that deterministic content affects balancing. The daily team pool and rules version must be considered part of the product. The game can be tried at https://dailyredpokemon.org/.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Lobby Host Succession Explained: 4 Rules After a Player Disconnect

The hard trade-off is speed versus truth: reassigning a lobby host on the first broken socket feels responsive, but it can create two hosts during a brief network interruption.

  • Assign unique connectiongeneration to each successful connection.
  • Use heartbeat extension to extend matching connectiongeneration.
  • Four invariants ensure predictable host succession process.

Shared Elasticsearch clusters and the stream-claim flaw rated 8.8

Shared Elasticsearch clusters and the stream-claim flaw rated 8.8 Vulnerability overview CVE-2026-102406 is the highest-rated entry in Elastic's October 2026 advisory batch: CVSS v3 8.8, CWE-639, and…

  • Critical Elasticsearch vulnerability CVE-2026-102406 rated 8.8 in CVSS v3
  • Shared clusters and Kibana Fleet installer exploited via delegated package rights
  • 161,744 vulnerable Kibana deployments reported as of 2026-10-07

More from Thursday 15 October →