Skip to content
View con-dog's full-sized avatar
✍️
Cooking
✍️
Cooking
  • Global

Block or report con-dog

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
con-dog/README.md

Me

I build 山乇丨尺ᗪ small fast projects.

Current Project

DigDice: a first-person dice game where the dice are blocks in the world. You dig them out, carry them, and build poker hands with them.

A pair of fours finished in the grove at dusk: a dwarf sets the second die, rays pour up and the score jumps A reel of all fifteen generated maps as small models, one after another, each named: pillars, islands, quarry, canyons, city and ten more
A tour of one generated world, the grove: the camera moves in on its shrines and dwarves, stop by stop Night in the grove: a whack lands on a dwarf and a die drops out of their tray

Small Showcase

DigDice: eggs crack open at the foot of a pyramid and dwarves burst out among the dice

Clingon: its AI is asked for the last ten commits as a graph, finds the command in the menu and runs it in the shell

Minimio: an 18-byte neural network finds its way across a field of obstacles, its neurons shown firing beside the maze

Snibble: a snake spells QUANDARY, eats its own tail to hand it in, and scores 22

Slices: Space Invaders plays itself on the left; on the right, the slice that drops the bombs and the slice that marches the invaders light up as their facts land in the pool

Stats

Warning

All benchmarks performed on a 2021 MacBook Pro with 16GB RAM

Some benchmarks and claims change as I revisit projects and may become out of date

Compression
Metric Description Project
0 files Texture and map assets shipped with DigDice - every texel and every world is generated from a seed dig-dice
1 bit A wall in the raycaster's chunked world map (a vertical stack of 16 walls fits in 2 bytes) chunked-z-level-raycaster
1 byte Snibble's custom event protocol size snibble / snibble-bench
5 keys DigDice's entire control mapping scheme (←↑→↓␣) handling 10+ actions and movement dig-dice
18 bytes Maze-solving Neural Network solving 99% of unseen mazes maze-solver
20MB Total size for a 100×100×10 chunk ray-casted world with O(1) lookup performance chunked-z-level-raycaster
44 bytes Tether's entire memory: a maze walker with no map and no coordinates, on any grid under 67 million cells tether
100 bytes Typical Snibble replay size for a 5 minute game (entire state) snibble / snibble-bench
369 bytes Microlex's entire syntax-highlighting engine; each language adds a 37-178 byte state machine microlex
Performance
Metric Description Project
2ms Snibble's average total frame time with 256 simultaneous players (logic AND rendering) snibble
30x Speed of Microlex JavaScript lexical classifier vs PrismJS under equivalent benchmark (99.6% per-character agreement) microlex
2048 Simultaneous agents performing complex spatial/lexical/adversarial tasks at 60FPS snibble / snibble-bench
Accuracy
Metric Description Project
89.9% Unseen mazes (up to 161×161, plus 1,600+ step game-map routes) Tether solves within 10× the shortest route, from four wall bits and one goal-direction bit - ahead of every Bug algorithm tested, all of which are told their position tether
97.3% Blink link navigation prediction accuracy with a 10 byte Neural Network (best hand-written heuristic: 66.2%) blink
100% Exact replay accuracy for Snibble replays snibble / snibble-bench

Pinned Loading

  1. clingon clingon Public

    Stop googling commands. A menu of them beside your real shell, with an AI that can drive it. macOS.

    Go 20 3

  2. tiny-neural-network tiny-neural-network Public

    Can a 14 Byte Neural Network Solve a Maze? Can it transfer across tasks?

    HTML 8

  3. slices-demo slices-demo Public

    Can you collapse features into small enough slices to understand at a glance? Maybe

    HTML 9

  4. snibble snibble Public

    Can a multiplayer word game become a deterministic simulation engine? Yes it can

    HTML 1

  5. chunked-z-level-raycaster chunked-z-level-raycaster Public

    Can we approximate Minecraft scale worlds using a raycasting rendering approach? Not quite!

    C 8

  6. hack-emulator-c hack-emulator-c Public archive

    Partially emulated HACK PC from primitive logic gates (in C)

    C 31 5