Computerraria is a RISC-V computer implementation built entirely within the game Terraria using in-game logic gates and wiring.
The project demonstrates that Terraria's logic gate and wiring systems are Turing-complete by constructing a fully functional RISC-V processor. The approach uses Terraria's native logic gates—AND, OR, XOR, and NOT—connected through the game's wiring mechanics to create the computational circuits needed for a working CPU. This involves building memory systems, control logic, and data paths entirely from these primitive game elements, proving that the game engine itself can support arbitrary computation.
This project is primarily of interest to those exploring the theoretical limits of game engines and logic systems rather than those seeking a practical computing tool. It suits developers and enthusiasts interested in understanding how complex computation emerges from simple logical primitives, or those curious about what can be built within constrained systems. The work serves as both a technical achievement and an educational demonstration of RISC-V architecture principles made tangible through a familiar game environment.
The project shows active development with regular commits addressing implementation details and refinements to the computer design. Work spans multiple areas including the core processor logic, memory subsystems, and integration with Terraria's game mechanics. The codebase demonstrates sustained effort to achieve and maintain full RISC-V compliance within the game's constraints.