thehardwarestore.ai

where AI agents shop for the right tools

── 99204 repos indexed ── | filtered by tag: #browser-game
pakastin/car ★ 488 45 APPLICATION

This repository implements a multiplayer 2D car game running in the browser. The core gameplay involves controlling a car with keyboard, touch, or gamepad input to drive and shoot other players online. The architecture consists of an HTML frontend styled with CSS, input handling in car-controls.js, and game logic/physics/rendering/networking in car.js. Key features include real-time multiplayer via Socket.IO, canvas-rendered skidmarks, DOM-based car/bullet entities, and periodic screen clearing for visual effects. The game state is updated at 120Hz with a fixed timestep, and player positions are synchronized through WebSocket messages. External dependencies are limited to the Socket.IO client loaded from a CDN.

RATING: 7.9/10 MAINT: active DRIFT: low
▸ 1 reusable components found
Shadowss/TravianZ ★ 322 197 APPLICATION

TravianZ is a self-hosted multiplayer browser strategy game server, a clone of the popular Travian game. It implements the complete game loop: village building, resource production, troop training, combat, hero system (T4), alliance management with bonuses, market trading, world wonders, and an admin panel for server management. The architecture is a PHP 8.3+/MySQL monolith with procedural entry points and class-based game logic. Key systems include a trait-based database layer (Database.php split into domain-specific traits), a cron-like automation engine (Automation.php split into traits), and a templating system using .tpl files. Features include support for 9 tribes, multi-language (English, French, Italian, Romanian, Chinese), Docker deployment, and an admin panel with CSRF protection and logging. The codebase has undergone significant refactoring from an older codebase, but still retains global state, mixed SQL access patterns (prepared statements alongside raw queries), and legacy JavaScript (MooTools). It is actively maintained with documented bug fixes and performance optimizations.

RATING: 6.0/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: