Visitar URL original
GitHub - joe-ds/a-bus-journey-simulator: This is a whimsical simulator of the way in which I saw that I and other passengers on buses take our seats. · GitHub
Skip to content

About

This is a whimsical simulator of the way in which I saw that I and other passengers on buses take our seats.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

justforfunnoreally.dev badge

A Bus Journey Simulator

Usage

(journey stops seats)

Note: seats must be even!

(journey 10 30)

is what I used.

Description:

This is a whimsical simulator of the way in which I saw that I and other passengers on buses take our seats. We follow a two-step process:

  1. If there are whole seats with no one in them, sit there.
  2. If there aren't, sit next to someone.

And that's what I tried to simulate. It may be a general rule, or it might be a quirk of riding buses in just this city, but I thought it was a bit amusing.

Note that no more than nine passengers get on the bus at any one stop in this simulation.

Tested in GNU CLISP 2.49.93+ running on Fedora 29 64-bit.

About

This is a whimsical simulator of the way in which I saw that I and other passengers on buses take our seats.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages