Skip to content

Instantly share code, notes, and snippets.

Avatar
🔡
Making text games

Eric Oestrich oestrich

🔡
Making text games
View GitHub Profile
@oestrich
oestrich / behavior trees
Created May 9, 2020
Kalevala benchmarking - 2020-05-09
View behavior trees
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 Nov 21, 2019
Heartbeat with extra player metadata
View heartbeat.json
{
"event": "heartbeat",
"payload": {
"players": [
"player",
{"name": "eric", "status": "idle", "idleTime": 6000, "title": "a wizard"},
{"name": "odo", "status": "active", "title": "a cat"}
]
}
}
View claybrook.hcl
zones "claybrook" {
name = "Clay Brook"
}
rooms "town_square" {
name = "Town Square"
description = "You are in the town square."
features = [
{
View linux.md

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 Nov 6, 2019
Grapevine Sound GMCP Messages
View sound.md
@oestrich
oestrich / bench.md
Last active Sep 3, 2019
Benchmark for io data vs strings
View bench.md

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 Sep 8, 2019
OAuth for Telnet
View OAuth.md

OAuth for Clients

Telnet Option

Constants:

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

Venture Markup Language (VML) for Clients

Telnet Option

Constants:

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

GMCP Action Bar

Actions.List {
  "actions": [
    {
      "key": "2b557868-1b1d-4ba0-8306-e7a2ebf6f965",
      "display": "Magic Missile",
      "send": "magic missile"
 },
View representer-elixir.md

Representers

Starting data

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