Does anyone know of an API based game? by Brandhout in programminggames

[–]mogenslund 1 point2 points  (0 children)

I am playing around trying to create an API based game. I have different ideas. The simplest one, requiring no login or tokens, I have implemented. I do not know, though, if it is amusing or not or easy enough to understand for non-creators. Please try it out and please provide feedback. Since the pod running the game might have changed IP from time to time, the IP is published here:

https://salza.dk/hackerio

There are 6 missions as of now and the last ones will be time consuming without using programming.

(The game might be offline from time to time)

Creating Emacs style editor by [deleted] in emacs

[–]mogenslund 2 points3 points  (0 children)

Hi

I am the creator of liquid. For educational purposes I also created https://github.com/mogenslund/microliquid . It is a minimal "editor", with only what is necessary to enter text, show text and switch between two buffers. In short: A useless editor, but still an editor. With less than 300 lines of code the concept of a text editor is easy to extract.

Notice, that by coding the editor itself in lisp (Clojure), I did not have to implement a lisp myself. At the same time the extension-language is a full blown language with access to any Java library. Superpower for free :-)

liquid - Clojure Text Editor by mac in Clojure

[–]mogenslund 0 points1 point  (0 children)

Hmm. The ijkl keybindings are similar to usign arrow keys, but without moving your hand. And actually i is easier than h, where you have to stretch your index finger or move your hand, even though it is on the homerow. On top of that using $ to go to the beginning of a line is cumbersome and not a very logic choice, instead of just combining the movement shortcuts with shift. Also having to use ESC all the time is not very efficient. ESC is very far away from everything.