Spike wiki

Spike wiki

How to play Spike, what each wing of the campaign teaches, the parts and bodies in the lab, and how the simulation works underneath.


Spike is a game and a research tool about small spiking neural circuits. You wire sensory cells to interneurons to motor pools on a bench of graph paper, and the circuit runs a simplified body in a closed loop, one millisecond at a time: a lamprey swims, a leg answers a tendon tap, a heart answers a stand-up, a leech heart beats in turn. Every neuron is a real NEST model, simulated live in NEST's own names and units.

New here? Read Getting started, then play Your first hour. To see the game before you download it, the See it in action page has every clip and screenshot.

The lab on the lamprey level, with the reference circuit running.

I. Start here

  • Getting startedWhat Spike is, how to download and run it, what your computer needs, and what you see on first launch.
  • Your first hourA step-by-step walk through the first chapter, Invertebrates, with what to click and what to look for.
  • How to read the labEvery panel of the building screen: the bench, sensor and motor cards, the inspector, the play bar, the raster, traces, gauges and the body view.
  • The core loopBuild, run, check, read the verdict, improve, earn stars. How a level is scored and what the game tells you after each attempt.
  • See it in actionEvery clip and screenshot of the game, captured from the released build, with what each one shows.

II. Playing

  • ModesGuided, Standard and Researcher: what each changes, what each never changes, and how to switch.
  • Stars, par and the hint ladderHow stars are earned, what par and the energy budget mean, what the recipe costs, and how the three hint tiers work.
  • Diagnosis casesHow a diagnosis case works, what counts as a probe, how it is scored and how stars are earned, with no answers given.
  • The lesion lab and analysis toolsCut and silence parts of a passed circuit, and read it with motif counts, burst and heart-rate-variability measures, phase response, energy, reverse correlation and the phase plane.
  • The sandboxThe free bench with no task and every part unlocked: what it has, what it lacks and what to use it for.
  • NotebookThe lab notebook of cited findings that each level unlocks, and the concepts tab that collects every idea the game teaches.
  • Tips and common mistakesWhat the verdicts and playtests show players get wrong, and habits that save time.

III. The campaign

  • The body chaptersEvery level of the five body chapters (Invertebrates, Spinal cord, Heart, Breathing, Autonomic): what it teaches, what you need to know first, the real biology and the goal, with no solutions.
  • The BestiarySix model animals, 18 levels and 7 diagnosis cases: the worm, the leech, the sea slug, the fly compass, the fly mushroom body and the crab, with the biology and the honest limits of each.
  • The Theory wingTwelve levels in four chapters that turn a computational-neuroscience course into puzzles: the phase plane, rate models and mean field, attractor memory, tuning and decoding.

IV. Reference

  • Parts binEvery cell model you can place in Spike, what it does, its parameters with units and defaults, when to use it and which levels use it.
  • Synapses and modulatorsHow cells connect in Spike: static, depressing, plastic and dopamine-gated synapses, gap junctions, rate and mean-field connections, wiring modes, and the NE, ACh and DA neuromodulators.
  • Inputs and outputsThe sensor and motor cards of a level: every input kind (dc, Poisson, rate drive, tuned Poisson, spike trains) and every output kind (rate, modulator, ring readout, rate value), with units and real examples.
  • BodiesThe bodies your circuits drive: limb, heart and circulation, lungs, eye, gut, lamprey, worm and the ring and dashboard views. What each one models, what you drive and read, and what is simplified.
  • GlossaryEvery concept and lab term the game uses, alphabetical, one plain line each.
  • Keyboard and controlsEvery way to drive Spike: mouse and touch gestures on the bench, keyboard keys, gamepad buttons, and the screen-by-screen button list.
  • Settings and performanceEvery setting in the game, what it does, where your data is saved, and how to keep the simulation running at the speed you ask for.
  • FAQShort answers to the questions players ask most, with links to the pages that explain them.
  • What is realWhat is NEST's own maths, what was re-fitted, what was tuned until a level passed, what is illustrative, and what is generated.

V. Under the hood

  • A circuit is dataEvery circuit you build is one JSON file that the game, the engine and Python all read; this page explains each field with a small example you can run.
  • Use your circuit in PythonLoad a circuit you built in the game as a PyNEST network, run it, and analyse the spikes with the spike package.
  • The spike-run command lineRun a circuit file or score it on a level from a terminal, with the same loop, seeds and rules as the game's Check button.
  • Make it yoursAdd your own cell model with NESTML, or write a new level, from the task contract to the tests every level must pass.
  • ArchitectureHow the game, the engine, NEST and the Python package fit together, and what happens in each millisecond of a run.
  • Building from source and CIHow to build the game, the engine and the Python tools from the repository, run the tests, make a release zip, and how continuous integration does it.
  • Contributing and the honesty contractHow to report a bug, what a good contribution looks like, and the rules every level and every claim in Spike must follow.
  • Changelog highlightsWhat changed in each version of Spike, in plain words and newest first, with the gaps the project says remain.

Where things liveLink to this section

The title screen leads to the campaign, three wings of chapters drawn as atlas plates: the body chapters, the Bestiary of model organisms and the Theory wing. Each chapter pins its levels to the plate. A level opens the lab: the bench on the left, the body and the scopes on the right, the brief underneath. Check scores your circuit headless over several seeds; the lesion lab and the Analysis screen take a circuit apart. The parts bin lists every cell type with its measured f-I curve, the notebook collects the findings you unlock, and What is real says, layer by layer, what is NEST's own maths and what was tuned.

Something wrong or missing? Edit this page on GitHub (source) or open an issue.