Get the latest tech news

Corral.BAS


Cowboy themed game from David Ahl's 1978 book "More BASIC Computer Games" converted and refactored into a browser-playable version.

It'll bolt if you cover more than half the distance at once, and may kick if you get within 2 steps. Our primary loop begins with drawing our playfield, reading each element of the A array looking for a match to our Horse or Cowboy positions. More of our loop, checking for kicks and bolting if we get too close too fast.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of corral

corral

Photo of BAS

BAS

Related news:

News photo

Appleii Air Attack.BAS

News photo

Show HN: Corral – A Visual Logic Puzzle About Enclosing Numbers