Rename the project
Ask for the new name in two forms if not given:
- AssemblyName / project name (PascalCase, valid C# identifier, e.g.
SpaceGame). - Display name (human-readable, for the window title; may contain spaces).
This is a wide, mechanical change — do it carefully and verify at the end.
Steps (current name is Game):
project.godot
[application] config/name="<Display Name>"[dotnet] project/assembly_name="<NewName>"
Csproj / solution
- Rename
Game.csproj→<NewName>.csprojandGame.sln→<NewName>.sln. - Update the
ProjectReferenceintests/Game.Tests/Game.Tests.csprojto the new csproj path. - Optionally rename the test project too (
<NewName>.Tests); if so, update the.slnand folder.
- Rename
Namespaces — the code uses the
Game.Game.*prefix (assemblyGame+src/Gamefolder). Decide the new prefix:- Simplest: keep the
src/Game/folder → new prefix becomes<NewName>.Game.*. - Or rename the folder
src/Game→src/<NewName>for a<NewName>.<NewName>.*prefix (more churn). - Do a global replace of the namespace prefix across
src/**andtests/**accordingly, plususingstatements.
- Simplest: keep the
Scene/script refs —
level/game_level.tscnreferences the root script byuid, not by name, so it survives. Just confirm it still loads.Docs — update root README.md and CLAUDE.md references to the old name where relevant.
Delete build artifacts (
bin/,obj/,.godot/mono/) to avoid stale references, then run theverifyskill.
Prefer the least-churn option (keep src/Game/ folder, change only the assembly prefix) unless the user explicitly wants the folder renamed. Confirm the plan before doing the global replace.