Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaredkrinke/sic1
Single-instruction (subleq) programming game
https://github.com/jaredkrinke/sic1
esolang esoteric-programming-languages game html5 oisc programming-game subleq zachlike
Last synced: about 2 months ago
JSON representation
Single-instruction (subleq) programming game
- Host: GitHub
- URL: https://github.com/jaredkrinke/sic1
- Owner: jaredkrinke
- License: other
- Created: 2019-03-29T02:53:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-21T14:44:22.000Z (10 months ago)
- Last Synced: 2024-10-04T00:26:35.549Z (3 months ago)
- Topics: esolang, esoteric-programming-languages, game, html5, oisc, programming-game, subleq, zachlike
- Language: TypeScript
- Homepage: https://jaredkrinke.itch.io/sic-1
- Size: 2.4 MB
- Stars: 83
- Watchers: 5
- Forks: 3
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![SIC-1 Logo](../screenshots/sic1-logo.png?raw=true)
**SIC-1** is a free and [open source](https://opensource.org/osd/) single-instruction (subleq) programming game. Neglect your personal life in pursuit of promotions and vague assurances of job security! Optimize your programs to rise to the top of the leaderboards! SIC Systems thanks you for your hard work! Now please return to your desk.
## Play
* **[Steam](https://store.steampowered.com/app/2124440/SIC1/)** (Windows, Linux)
* **[itch.io](https://jaredkrinke.itch.io/sic-1)** (play in browser)## Contribute
* **[Help translate SIC-1 into additional languages!](translating.md)**## Links
* **[Trailer](https://youtu.be/NyUSpn2CFTc)**
* **[Soundtrack](https://soundcloud.com/schemescape/sets/sic-1-original-soundtrack)**
* Follow on: **[Discord](https://discord.gg/nbtumdjuvR)**, **[Mastodon](https://mastodon.gamedev.place/@antipatterngames)**, **[itch.io](https://jaredkrinke.itch.io/)**, **[the web](https://www.antipatterngames.com/)**# Description
SIC-1 is a programming game where the computer only understands a single instruction.* **Learn** an esoteric assembly language.
* **Implement** programs to unlock more impressive job titles.
* **Optimize** your programs to climb the leaderboards.
* **Sacrifice** your personal life for the good of the company!It's an assembly language zachlike for everyone! New programmers will appreciate how few unique instructions there are to learn (just one!), and experienced programmers will appreciate how poorly suited this one instruction is for writing straight-forward programs.
**If you're ready for a challenge, respond to this job posting from SIC Systems:**
> SIC Systems is hiring engineers to produce highly efficient programs for our flagship product: the Single Instruction Computer Mark 1 (SIC-1).
>
> The SIC-1 represents a transformational change in computing, reducing complexity to the point that the processor only executes a single instruction: subtract and branch if less than or equal to zero ("subleq").
>
> Enter the brave new world of single-instruction computing and invent new ways of implementing programs that would be trivial on a conventional computer. Don't adjust the technology to match how you think, adjust your thinking to match how the SIC-1 operates!# Screenshots
![Gameplay screenshot](../screenshots/sic1-gameplay.png?raw=true)![User rank screenshot](../screenshots/sic1-rank.png?raw=true)
# SIC-1 Assembly Language
Examples and in-depth documentation are available both in-game and here:[SIC-1 Assembly Language](sic1-assembly.md)
## Example
```
; Read two numbers and output their sum. Repeat.
@loop:
subleq @tmp, @IN
subleq @tmp, @IN
subleq @OUT, @tmp
subleq @tmp, @tmp, @loop@tmp: .data 0
```# General information about subleq
Note: these resources are not specific to the SIC-1 and do not use SIC-1 Assembly Language.* [Subleq description on Wikipedia](https://en.wikipedia.org/wiki/One_instruction_set_computer#Subtract_and_branch_if_less_than_or_equal_to_zero)
* [Subleq page the Esoteric Programming Languages Wiki](https://esolangs.org/wiki/Subleq)
* [Subleq emulators on RosettaCode.org](https://rosettacode.org/wiki/Subleq)