This is the devlog of a 2D climbing game made by one person. A small square climbs a mountain by gripping walls, and friends can climb the same mountain together. The design is worked out in conversation with an AI, and the words that changed its direction are printed here unedited.

Built this time: the old expedition’s anchors

In this game you pick up scrap metal on the mountain and craft your tools from it. The ice axe is made of scrap, and so are the anchors you clip your rope to. And there was never enough scrap.

So we opened one more way to get it. Here and there on the mountain’s ceilings, an old expedition left rusty anchors behind, three or four in a row. You can’t reach them standing; you have to hang from the ceiling. Clip your rope, pull one out, and it becomes a piece of scrap. Hanging drains your stamina, so you have to decide for yourself whether to take one more or climb down now.

How the design swelled and shrank

It didn’t start out this shape. The first design was about catching wild animals and raising them, and with it came feed, pens, a leash to lead them home, and two new materials. Seven new systems — and not a single extra piece of the scrap that had been missing in the first place.

Actually, the original goal was to supply materials in a more fun and varied way, but the plan feels somewhat bloated.

With that one remark the design was cut down to “only add ways of getting the materials that already exist”, and the anchors above are the first of them.

But once they were in, another hole showed. An anchor, once removed, is gone.

Hmm, sorry to bring this up now, but this isn’t really a source that supplies scrap steadily and reliably, is it?

It isn’t. “Steadily” had been dropped along the way while cutting. So two sources that come back will be built as well: (1) one that appears anew, a little each day, and has to be fetched; (2) another that you catch, and that yields again after a while.

What if we adopt both 1 and 2, and tune each while watching how much they supply?

Seeing the same thing as your friend

Putting moving things into the world raised a question. When friends climb together, who calculates a thing so that both see it in the same place?

Hmm, something feels off. Whether a player uses their own computer as the server or the developer runs servers in the cloud, shouldn’t the way it works be the same?

There were two paths. Path 1 is for the game itself to run as the server, as Minecraft does. Path 2 is to keep no game rules on the server at all: every computer runs the same code and does the same calculation, and the server is only a notebook recording who drove what in where. This is a game played straight in the browser, and its rooms have to stay alive for a long time, so we took path 2.

Let’s go with path 2. But the downside of this approach is that there is work every time something needs to be made visible to everyone, right?

It is. So the things that move in the world won’t be rolled around by physics; they’ll move by the world’s clock, like a platform sliding back and forth. If the clocks agree, everyone sees them in the same place.

Next

Building the two sources of scrap that come back.

ひとりで作っている2D登山ゲームの開発日誌。小さな四角が壁をつかんで山を登り、友だちと同じ山を一緒に登ることもできる。設計はAIと話しながら決めていて、向きを変えた瞬間の言葉は直さずそのまま載せる。

今回作ったもの:昔の登山隊の支点

このゲームでは、山でくず鉄を拾って道具を作る。ピッケルも、ロープを掛ける支点も、くず鉄から作る。そしてくず鉄はいつも足りなかった。

そこで、手に入れる道をもうひとつ開いた。山の天井のあちこちに、昔の登山隊が打ち込んだまま残していった錆びた支点が三つ四つ並んでいる。立ったままでは手が届かず、天井にぶら下がらなければならない。ロープを掛けて抜くと、くず鉄ひとつになる。ぶら下がっていると体力が減るので、もうひとつ取るか、ここで降りるかを自分で決めることになる。

設計が膨らんで、縮んだ話

最初からこの形だったわけではない。最初の設計は野生の動物を捕まえて飼うというもので、えさ、囲い、連れて帰るための綱、新しい素材ふたつが付いてきた。新しい仕組みが七つ。それなのに、そもそも足りなかったくず鉄はひとつも増えていなかった。

でも、そもそもの目的は、素材の供給をもっと楽しく多様にすることだったのに、計画がなんだか少し膨らんだ気がする。

このひと言で設計を「すでにある素材を得る方法だけを増やす」に削り、その最初のひとつが上の支点だ。

ところが入れてみると、別の穴が見えた。支点は一度抜いたら終わりだ。

うーん、今さらで悪いけど、これはくず鉄を安定して継続的に供給する供給源ではない気がするんだけど、合ってる?

合っていた。削る途中で「継続的に」が抜け落ちていた。そこで、また出てくる供給源をふたつ作ることにした。(1) 毎日少しずつ新しく現れて取りに行くもの、(2) 捕まえて得て、しばらくするとまた得られるもの。

1番と2番を両方採用して、供給量を見ながらそれぞれを調整するのはどうだろう?

友だちと同じものを見るには

動くものを世界に入れようとして、問いがひとつ生まれた。友だちと一緒に登るとき、ふたりが同じものを同じ場所に見るには、それを誰が計算するのか。

うーん、何か違和感がある。プレイヤーが自分のコンピューターをサーバーにしても、開発者がクラウドでサーバーを運営しても、そのやり方は同じであるほうがいいんじゃないか?

道はふたつあった。道1は、マインクラフトのようにゲームそのものがサーバーとして動く道。道2は、サーバーにゲームのルールを一切置かない道だ。どのコンピューターも同じコードで同じ計算をして、サーバーは「誰がどこに何を打ち込んだか」だけを書き留めるノートの役をする。ブラウザでそのまま遊ぶゲームで、部屋が長く生きていなければならないので、道2を選んだ。

道2で行こう。でも、何かを一緒に見られるようにするための手間が毎回かかるのが、この方式の欠点ということだよね?

そのとおり。だから世界の中で動くものは物理で転がさず、行ったり来たりする足場のように世界の時計に合わせて動かすことにした。時計さえ同じなら、誰にでも同じ場所に見える。

次

また出てくるくず鉄の供給源をふたつ作る。

혼자 만들고 있는 2D 등산 게임의 개발 일지다. 작은 사각형이 벽을 쥐고 산을 오르고, 친구와 같은 산을 함께 오를 수 있다. 설계는 AI와 이야기하며 정하고, 방향을 바꾼 순간의 말은 고치지 않고 그대로 싣는다.

이번에 만든 것: 옛 원정대의 확보점

이 게임에서는 산에서 쇠붙이를 주워 도구를 만든다. 피켈도, 줄을 거는 확보점도 쇠붙이로 만든다. 그런데 쇠붙이가 늘 모자랐다.

그래서 얻는 길을 하나 더 냈다. 산의 천장 곳곳에 옛 원정대가 박아 두고 간 녹슨 확보점이 서너 개씩 줄지어 남아 있다. 서서는 손이 닿지 않아 천장에 매달려야 한다. 줄을 걸고 뽑으면 쇠붙이 하나가 된다. 매달려 있으면 기력이 닳으니, 하나 더 걷을지 여기서 내려갈지를 스스로 정해야 한다.

설계가 부풀었다가 줄어든 이야기

처음부터 이 모양은 아니었다. 첫 설계는 야생동물을 붙잡아 기르는 것이었고, 거기에 먹이, 우리, 끌고 올 줄, 새 재료 둘이 딸려 왔다. 새 시스템이 일곱 개였다. 그런데 정작 모자라던 쇠붙이는 한 개도 늘지 않았다.

그런데, 사실 처음 목적은 재료의 수급을 더 재미있고 다양하게 공급하는 것이었는데, 계획이 뭔가 좀 부풀려진 느낌이야.

이 한 마디로 설계를 “이미 있는 재료를 얻는 방법만 늘린다”로 줄였고, 그 첫 번째가 위의 확보점이다.

그런데 만들어 넣고 보니 다른 구멍이 보였다. 확보점은 한 번 걷으면 끝이다.

흠, 그런데 이제와서 미안한데, 이건 쇠붙이를 안정적으로 꾸준히 공급하는 공급원은 아닌 것 같은데 맞나?

맞았다. 줄이는 과정에서 “꾸준히”가 빠져 있었다. 그래서 다시 나오는 공급원 둘을 더 만들기로 했다. 1번은 날마다 조금씩 새로 나타나 가지러 가야 하는 것, 2번은 붙잡아서 얻고 얼마 뒤 다시 얻을 수 있는 것이다.

1번과 2번을 둘다 채용하고, 공급량을 보며 각각을 조절하면 어떨까?

친구와 같은 것을 보려면

움직이는 것을 세상에 넣으려니 물음이 하나 생겼다. 친구와 함께 오를 때 둘이 같은 것을 같은 자리에서 보려면, 그것은 누가 계산하나.

흠, 뭔가 위화감이 들어. 플레이어가 스스로의 컴퓨터를 서버로 활용하든, 게임 개발자가 제공하는 클라우드에서 서버를 운영하든, 그 방식은 동일한게 좋은 것 아닐까?

길은 둘이었다. 길 1은 마인크래프트처럼 게임 자체가 서버로 도는 것이다. 길 2는 서버에 게임 규칙을 아예 두지 않는 것이다. 모든 컴퓨터가 같은 코드로 같은 계산을 하고, 서버는 “누가 어디에 무엇을 박았나”만 적어 두는 공책 노릇을 한다. 브라우저에서 바로 하는 게임이고 방이 오래 살아 있어야 해서 길 2를 골랐다.

길 2로 가자. 그런데, 어떤 것을 함께 볼 수 있도록 구현해야하는 품이 매번 발생하는 것이 이 방식의 단점인거지?

그렇다. 그래서 세상 속에서 움직이는 것은 물리로 굴리지 않고, 왔다 갔다 하는 발판처럼 세상의 시계에 맞춰 움직이게 하기로 했다. 시계만 같으면 누구에게나 같은 자리에 보인다.

다음

다시 나오는 쇠붙이 공급원 둘을 만든다.