git404hub

what is csbrasil fr?

rubenmarcus/csbrasil — explained in plain English

Analysis updated 2026-05-18

49TypeScriptAudience · generalComplexity · 2/5LicenseSetup · easy

tl;dr

A satirical browser sniper shooter styled after Counter-Strike 1.6, set in a fictional Brasilia, with the whole game generated by an AI model from one prompt.

vibe map

mindmap
  root((csbrasil))
    What it does
      Browser sniper shooter
      AI generated from prompt
      Political satire setting
    Tech stack
      TypeScript
      Three.js
      Astro
    Use cases
      Quick browser gameplay
      Zero build game example
      AI generated game demo
    Audience
      Casual gamers
      Game dev learners

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Play a quick browser based 4v4 sniper shooter with no install required

VIBE 2

Study the source as an example of a zero build, vanilla JavaScript game built with Three.js

VIBE 3

See a worked example of an Astro site combining static pages with server side API routes for a leaderboard

VIBE 4

Learn how a full playable game can be generated from a single AI prompt

what's the stack?

TypeScriptJavaScriptThree.jsAstroSupabase

how it stacks up fr

rubenmarcus/csbrasilalemtuzlak/kiirabiasia/gradient-spin
Stars494949
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderateeasy
Complexity2/52/51/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

The bundled voice/meme audio pack is not included in the repo due to unclear rights and must be fetched separately.

The game code is free to use for any purpose, including commercial use, as long as you keep the copyright notice, the audio pack has separate, unclear rights and is not included.

in plain english

CS Brasil is a browser based first person shooter built with Three.js, styled after the classic sniper map from Counter-Strike 1.6. The setting is a fictional version of Brasilia, and the two teams are exaggerated, fictional archetypes standing in for Brazil's two big political camps, played as satire rather than as a serious statement, with no gore and no real people depicted. The entire game, including its code, was generated from a single prompt using an AI model called Kimi K3, and the original prompt used to create it is included in the repository. The project is split into two parts. The game itself is plain JavaScript plus a bundled copy of Three.js, requires no build step, and can be run by pointing any basic web server at its folder. Around that sits a small Astro powered website providing a landing page, a characters page, a how to play page, and a couple of server side API routes used for an online leaderboard, with the database access key kept on the server rather than exposed to the browser. To play, you move with WASD, aim with the mouse, crouch with Ctrl or C for steadier aim, and switch between a sniper rifle, a pistol, and a knife. Matches are four versus four with quick respawns, split into short rounds, and whichever team wins three rounds first takes the match. The sniper rifle kills in one hit, and getting several kills in a row triggers announcer style callouts similar to Unreal Tournament. Voice lines and sound effects are loaded from an audio folder that is deliberately left out of the public repository, since the meme audio clips used have unclear rights, so only the code is shared under the MIT license. A separate script can download the actual audio pack from a release if you want the full experience, and without it the game falls back to synthesized sounds. Note that the original Counter-Strike 1.6 sound files themselves belong to Valve and are not included, if you already own that game legally, you can drop in your own copy of its sound files. A leaderboard currently stores nicknames and stats in your browser, with a more permanent database backed version already built but not yet turned on.

prompts (copy fr)

prompt 1
Help me run csbrasil locally using Python's simple HTTP server to just play the game.
prompt 2
Walk me through setting up the full Astro site for csbrasil, including npm install and the dev server.
prompt 3
Show me how to add a new sound file to csbrasil's audio manifest.
prompt 4
Explain how to enable the Supabase-backed global leaderboard for csbrasil by setting the required environment variables.

Frequently asked questions

what is csbrasil fr?

A satirical browser sniper shooter styled after Counter-Strike 1.6, set in a fictional Brasilia, with the whole game generated by an AI model from one prompt.

What language is csbrasil written in?

Mainly TypeScript. The stack also includes TypeScript, JavaScript, Three.js.

What license does csbrasil use?

The game code is free to use for any purpose, including commercial use, as long as you keep the copyright notice, the audio pack has separate, unclear rights and is not included.

How hard is csbrasil to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is csbrasil for?

Mainly general.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.