Skip to content

Instantly share code, notes, and snippets.

@bxh-io
bxh-io / elevator3.py
Last active October 29, 2022 20:32 — forked from elliotchance/elevator.py
The Elevator Game
import random
import time
class Person:
WAITING = 0
IN_ELEVATOR = 1
DONE = 2
def __init__(self, from_floor, to_floor):
self.from_floor = from_floor
<script>
lp.jQuery(function($) {
var ruleID = 'notWebmail';
var field = 'email';
var message = 'Please enter your work mail address.';
var rules = module.lp.form.data.validationRules[field];