展示HN:XR2000:一个科幻编程挑战
Show HN: XR2000: A science fiction programming challenge

原始链接: https://clearsky.dev/blog/xr2000/

作者发布了XR2000,一个充满科幻色彩的新编程挑战,灵感来自《TIS-100》(虚构CPU上的汇编编程)、《Space Traders》(通过REST API进行市场分析)和《Protohackers》(后端和网络协议)等游戏。 XR2000将引人入胜的叙事与二进制协议和密码学相结合。它被设计成一个引人入胜的程序员谜题,鼓励探索底层技术。 目前被认为是“第一章”,故事仍在进行中,并可能根据玩家参与度进行扩展。挑战可通过`nc clearsky.dev 29438`访问,并强调乐趣至上——值得注意的是,整个项目都是在iPhone上开发的!它旨在重现启发性游戏中的乐趣,同时提供独特且不断发展的体验。

## XR2000:科幻编程挑战 Richmans 发布了 XR2000,一个带有详细科幻背景故事的编程挑战,托管在 clearsky.dev 上。该挑战涉及通过 TCP 连接(端口 29438)与模拟的太空终端交互。初始交互需要发送一个 0 字节,然后是 "XR2K" 以接收协议文档。 该协议定义了各种数据包类型,用于执行诸如注册、登录、发送/接收邮件和配置收发器等操作。数据包具有特定的结构,包括长度字段、请求 ID、魔术字节 ("XR2K") 和有效载荷。 有用户报告了最初的服务器过载问题,现在已解决。一些人正在探索使用 LLM 来帮助解决难题,而另一些人则正在积极破译协议并尝试完成挑战。该挑战包括 Rasvakian 词典和虚构的通信网络 AtlantiaMail 等元素,并暗示了“Arhci 上校”等角色。 还建议了一个 2006 年的类似编程竞赛,涉及编写一个小型的虚拟机,供对类似谜题感兴趣的人参考。
相关文章

原文

Today I’m releasing the XR2000: A programming challenge with extensive science fiction backstory. This is a project I’ve long wanted to make, and it has slowly come to life in the last few years.

I love a good puzzle or game that involves programming. Over the years I found a couple of these games that were particularly fun. These really inspired me to start the XR2000. Before explaining more about my new challenge, I want to mention (and recommend) these games.

TIS-100

This is one of the weirdest games ever. TIS-100 that lets you write assembly code for a fictional cpu. There is a complete manual documenting the CPU instructions and all peripherals. It really got me hooked on legacy computing and assembly programming.

Space Traders

In Space Traders you control a spaceship through a REST API. The game is mainly focused on trading (as the name suggests) and involves closely monitoring and analyzing market prices. It’s a great challenge for learning a new programming language or programming in general. The simulation has remarkable depth.

Protohackers

Protohackers is not a game but more a programming challenge like AoC but focussed on backend and protocols. It really makes you dive into the depths of tcp, udp and sockets.

And now something different

I decided to create a challenge that combines a science fiction story with a programming challenge. The programming challenge so far is mostly focussed on binary protocols, and some cryptography.

The story is far from finished. There are lots of ideas on continuing the story, expanding the fictional universe and including more low level / assembly techniques. So let’s call this chapter 1. More might follow depending on the success of this first part. So let’s get ready to…

Dive in!

To get started:

nc clearsky.dev 29438 

And don’t forget: this is supposed to be fun!

This challenge was fully developed from an iPhone

联系我们 contact @ memedata.com