Take Over The Galaxy with GitHub
Notch is at it again, and we couldn’t be more excited. You may have heard of Minecraft, the award-winning game Notch released a few years ago that has recently marked…
Notch is at it again, and we couldn’t be more excited. You may have heard of Minecraft, the award-winning game Notch released a few years ago that has recently marked its 5 millionth sale.
0x10c, Notch’s new game, is a space simulator with an interesting twist: every spaceship in the game is controlled through a “CPU”, implemented on the server through a Virtual Machine. Players program their spaceship in order to play the game. The DCPU-16 Specification identifies what the CPU is capable of. The rest is up to you, but we’re here to throw you a hand.
GitHub officially supports the DCPU-16 assembly language
Today we have added DCPU-16 Assembly as an officially supported language on GitHub. Files with the .dasm16
or .dasm
extensions will be automatically recognized and highlighted properly when pushed to your repositories.
Likewise, code blocks with the dasm16
tag will be highlighted in comments, and you can now choose DCPU-16 Assembly as the language for new Gists.
Example:
; Try some basic stuff
SET A, 0x30 ; 7c01 0030
SET [0x1000], 0x20 ; 7de1 1000 0020
SUB A, [0x1000] ; 7803 1000
IFN A, 0x10 ; c00d
SET PC, crash ; 7dc1 001a [*]
Follow 0x10c on GitHub
The popularity of 0x10c is spiraling out of control, and there’s already plenty of excellent 0x10c repositories on GitHub to follow:
- The (unofficial) 0x10c Standards Comittee
- Virtual machines for Haskell, Rust, Java, Ruby, C, Python, JavaScript and many other languages.
- An LLVM backend that generates DCPU-16 assembly.
- A live editing environment for DCPU-16
- A kernel written in DCPU assembly
We can’t wait to see how 0x10c evolves, and we look forward to keeping up with the winning strategies on GitHub!
Written by
Related posts
Celebrating the GitHub Awards 2024 recipients 🎉
The GitHub Awards celebrates the outstanding contributions and achievements in the developer community by honoring individuals, projects, and organizations for creating an outsized positive impact on the community.
New from Universe 2024: Get the latest previews and releases
Find out how we’re evolving GitHub and GitHub Copilot—and get access to the latest previews and GA releases.
Bringing developer choice to Copilot with Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview
At GitHub Universe, we announced Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview and o1-mini are coming to GitHub Copilot—bringing a new level of choice to every developer.