Chicken on a Line

Saved games stay in this browser only.

About the game

A small orange chicken, shaped like a box with big eyes, sits on a line. One end of the line is yours: swipe and it follows your finger, tilting the whole line, and the chicken slides, bounces and tumbles according to real 2D physics. Keep it on the line as long as you can.

After a moment, round bugs start to fly in and bump the chicken sideways. Tap to jump over them; the longer you press, the bigger the jump. When the chicken falls off, the round ends and scores ten points per second you lasted, times the current multiplier. Then comes the gamble: take "1x Reset" to bank the round and start again from a single multiplier, or press "Risk" to raise the multiplier for the next round, as long as you then stay on the line longer than you just did. Fail, and it is game over. Reach 2,000 points to win a chicken dinner.

Martin Hentschel wrote it for js13kGames 2018, whose theme was "Offline", together with his own small physics library, physicsplain. The game has no image or sound files: everything is drawn on a canvas.

Playing it here

Click Play, then tap or click Start. The swipe works anywhere on the screen, so on a phone you can hold it either way.

Controls

Input Action
Swipe / drag move the free end of the line
Tap / click jump (hold longer for a higher jump)

A few things worth knowing

Small movements. The physics reacts to every swipe, and big motions throw the chicken off. Nudge the line gently and let the chicken settle.

Time your jumps to the bugs. A bug that reaches the chicken pushes it sideways; a short hop just before it arrives is usually enough.

Risk only when you are confident. The risk button multiplies the next round, but you must beat the time shown under the button or lose everything.

FAQ

How do I win? Collect 2,000 points across rounds. The multiplier from the risk option gets you there faster.

What does "Beat ... or game over" mean? After choosing Risk, the next round must last longer than the time shown; otherwise the game ends.

Is the high score saved? Only while the page stays open; reloading the game starts from zero.

Credits and licence

Chicken on a Line was made by Martin Hentschel for js13kGames 2018. It is released under the MIT licence, which also covers his physicsplain library included in the game; the licence text is linked from this page and the source code is on GitHub. We serve the author's source files unchanged; our page loads js/main.js as a module instead of the minified col.js the author builds for the competition.

Screenshots

Screenshot of Chicken on a Line