Skip to content

Instantly share code, notes, and snippets.

View oestrich's full-sized avatar
🔡
Making text games

Eric Oestrich oestrich

🔡
Making text games
View GitHub Profile
@oestrich
oestrich / behavior trees
Created May 9, 2020 16:43
Kalevala benchmarking - 2020-05-09
Operating System: Linux
CPU Information: AMD Ryzen Threadripper 3970X 32-Core Processor
Number of Available Cores: 64
Available memory: 125.73 GB
Elixir 1.10.0
Erlang 22.2.5
Benchmark suite executing with the following configuration:
warmup: 2 s
time: 5 s
@oestrich
oestrich / heartbeat.json
Created November 21, 2019 03:22
Heartbeat with extra player metadata
{
"event": "heartbeat",
"payload": {
"players": [
"player",
{"name": "eric", "status": "idle", "idleTime": 6000, "title": "a wizard"},
{"name": "odo", "status": "active", "title": "a cat"}
]
}
}
zones "claybrook" {
name = "Clay Brook"
}
rooms "town_square" {
name = "Town Square"
description = "You are in the town square."
features = [
{
@oestrich
oestrich / linux.md
Last active September 19, 2019 14:57

Long

Operating System: Linux
CPU Information: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Number of Available Cores: 8
Available memory: 61.04 GB
Elixir 1.9.0
Erlang 22.0.4
@oestrich
oestrich / sound.md
Last active November 6, 2019 05:54
Grapevine Sound GMCP Messages
@oestrich
oestrich / bench.md
Last active September 3, 2019 15:44
Benchmark for io data vs strings

Simple Interpolation

Operating System: macOS
CPU Information: Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
Number of Available Cores: 4
Available memory: 8 GB
Elixir 1.8.1
Erlang 21.0.2
@oestrich
oestrich / OAuth.md
Last active January 6, 2024 14:40
OAuth for Telnet

OAuth for Clients

Telnet Option

Constants:

  • IAC: 255
  • WILL: 251
  • WONT: 252
  • DO: 253
@oestrich
oestrich / vml.md
Last active March 25, 2019 02:16
Venture Markup Language Client Spec

Venture Markup Language (VML) for Clients

Telnet Option

Constants:

  • IAC: 255
  • WILL: 251
  • WONT: 252
  • DO: 253
@oestrich
oestrich / readme.md
Last active March 12, 2019 13:20
Grapevine GMCP Action Bars

GMCP Action Bar

Actions.List {
  "actions": [
    {
      "key": "2b557868-1b1d-4ba0-8306-e7a2ebf6f965",
      "display": "Magic Missile",
      "send": "magic missile"
 },
@oestrich
oestrich / representer-elixir.md
Last active September 29, 2018 19:04
Representers

Representers

Starting data

order = %Order{
  id: 10,
  first_name: "User",
  last_name: "Example",
}