Skip to content

autopilot.js / casino.js: Avoid going into debt and getting stuck at the casino with no money #436

@alainbryden

Description

@alainbryden

Two issues to look at here:

  1. One morning I woke up to a message that casino.js failed to run because we are out of money. This happened because we were studying while heading to the casino. I could have sworn I had code which stopped any player actions before heading to the casino, but I might have missed something. so we should double check.

image

  1. If casino.js runs into this scenario (or any error scenario after having killed all scripts) and cannot proceed, it should be running the "on completion" scripts to restart autopilot.js so we can recover from debt and try again later.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions