misprit7/computerraria

A fully compliant RISC-V computer made inside the game Terraria

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 41 seconds ago
Type:Model / Research CodeCategory(s):Game DevelopmentEmbedded & IoTMedia, Graphics & Games
Added to GitGenius on September 18th, 2026
Created on February 17th, 2023
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 55
Total Stargazers: 3,861 (+0)
Total Subscribers: 19 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

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.