One Armed Bandit - PDP-8 Style

Order Number: XX-XXXXX-XX

This document contains the documentation, source code, and logic flow for a slot machine simulation program written in the FOCAL language for the PDP-8 computer.

Key details include:

  • Functionality: The program prompts the user to place a one-dollar bet, then simulates the spinning of three wheels using random integer generation.
  • Logic: It utilizes a DO loop with a random number function to select from eight possible symbols and evaluates the result against predefined winning combinations to determine if a payout is owed.
  • Requirements: The program requires 4K FOCAL to run.
  • User Experience: It tracks the user's current winnings or losses throughout the session and allows the user to terminate the game at any time by responding "No" to the betting prompt.
XX-XXXXX-XX
2000
6 pages
Quality

Original
0.2MB

Site structure and layout ©2025 Majenko Technologies