{{htmlmetatags>metatag-robots=() metatag-title=(The Elevator) metatag-keywords=(The Elevator,game,Midres,Bitmaps,Commodore 64,Commodore VIC20,Commodore PLUS/4,Commodore 128,Atari) metatag-description=(This is a simulation / tactical / cooperative game for Commodore C=64, Commodore VIC-20 (with expansion memory installed), Commodore PLUS/4, Commodore C=128 and Atari written in a short time thanks to the primitives made available by the "midres" library.) metatag-media-og:image=(::elevator_960x600.jpg ) metatag-og:title=(The Elevator) metatag-og:description=(This is a simulation / tactical / cooperative game for Commodore C=64, Commodore VIC-20 (with expansion memory installed), Commodore PLUS/4, Commodore C=128 and Atari written in a short time thanks to the primitives made available by the "midres" library.) }} ====== THE ELEVATOR ====== "The Elevator" is a simulation / tactical / cooperative game for Commodore C=64, Commodore VIC-20 (with expansion memory installed), Commodore PLUS/4, Commodore C=128, Atari, MSX, Memotech 500 and LM80C Color Computer (32KB), written in a short time thanks to the primitives made available by the [[:midres_library|"midres" library]]. The game participates in the [[https://www.facebook.com/RPInside/posts/146187283862614|mini challenge of Retro Programmers Inside]]. {{ :elevator_800x300.jpg?nolink&600 |}} The program simulates the behavior of an elevator, following the various calls that may arrive. It manages the passengers, thus simulating their passage through the doors. It wait a few seconds before closing the doors and reopen them if a person remains in the middle. Moreover, it checks for any overload or excess and prevent the lift from starting if there are more than four passengers. All these mechanisms are used to implement tactical and cooperative games. ===== INSTRUCTIONS ===== The object of the game is to bring as many passengers as possible, in the shortest possible time, with the elevator. You have about two minutes per game. The program starts in the "simulation" (**SIMULATION**) mode, and you can always return in this mode by pressing the key ''S''. In this mode there is no type of time limitation, and both passengers and the lift can be controlled freely by the player, by using those commands: ** ELEVATOR'S COMMANDS ** ^ KEY ^ MEANING ^ | + | Halt elevator | | - | Alarm | | 1 | Move lift to the first floor | | 2 | Move lift to the second floor | | 3 | Move lift to the third floor | | 4 | Move lift to the fourth floor | | 5 | Move lift to the fifth floor | | Q | Press UP on the fifth floor | | W | Press DOWN on the fifth floor | | E | Press UP on the fourth floor | | R | Press DOWN on the fourth floor | | T | Press UP on the third floor | | Y | Press DOWN on the third floor | | U | Press UP on the second floor | | I | Press DOWN on the second floor | | O | Press UP on the first floor | | P | Press DOWN on the first floor | ** PASSENGERS' COMMANDS ** ^ KEY ^ MEANING ^ | Z | Add a passenger on the fifth floor | | X | Add a passenger on the fourth floor | | C | Add a passenger on the third floor | | V | Add a passenger on the second floor | | B | Add a passenger on the first floor | However, **the passengers are autonomous and reach the desired floor by themselves**, interacting directly with the elevator. Passengers who reach the floor do not participate in the scoring. \adsense\ By pressing the ''SPACE'' key, you switch to "single player" game mode (**SINGLE**). In this mode, a stopwatch starts which will mark the approximately two minutes of play. All the passengers enter randomly from the left side of the screen and you cannot change this behavior (keys ''Z''-''B'' are disabled) and you cannot reserve the elevator (keys ''Q''-''P'' are disabled). However, you can operate the elevator by moving it to the various floors (by using keys ''1''-''5''), where passengers can get on and off by themselves. When one passenger reaches the right side, you earns points. The score acquired depends on how long it took the passenger to reach the desired floor. The longer the passenger had to wait (close/open the doors without entering into elevator or exiting from elevator), the lower the score you earn, as follows: ^ TIMES ^ SCORE ^ | More than 30 | 5 points | | 20-30 | 10 points | | 10-20 | 15 points | | Less than 10 | 20 points | Finally, by pressing the ''G'' key you can switch to "cooperative" mode (**COOPERATIVE**), that support a sort of "multiplayer mode". With this mode, which has the same time limits as the single game, you are able to command the passengers' entering (keys ''Z''-''B'' are enabled again). However, when you switch from commanding passengers (keys ''Z''-''B'') to commanding the lift (keys ''1''-''8''), the commands will be inhibited for approximately 10 seconds. In this way it will be necessary to work cooperatively to obtain a good result. ===== VIDEO ====== {{ youtube>5TbPe9r3_qU?medium }} ===== EXECUTABLE ===== The game is available on [[https://spotlessmind1975.itch.io/elevator|itch.io]]. ===== PRESS REVIEW AND QUOTES ===== **December, 7 2020** - **[[https://www.facebook.com/permalink.php?story_fbid=2763460927261002&id=2005584959715273|Monday games!]]** [[https://www.facebook.com/permalink.php?story_fbid=2763460927261002&id=2005584959715273|{{ ::press_retromagazine.jpg?nolink&600 |}}]] ===== SOURCES ===== ''[[https://github.com/spotlessmind1975/midres/blob/v1.7/src/game_elevator.c|game_elevator.c]]'' on the [[https://github.com/spotlessmind1975/midres|official repository]] of [[:midres_library|midres library]]. ===== POWERED BY ===== [[:midres_library|{{ :midres-logo.png?nolink&600 |}}]]