new
undefined
altitude
undefined
velocity
undefined
fuel
undefined
burn
undefined
time
undefined
curl 'https://tcpdata.com/lunar-lander?new=true'
curl 'https://tcpdata.com/lunar-lander?altitude=1000&velocity=0&fuel=150&burn=0'
curl 'https://tcpdata.com/lunar-lander?altitude=999.19&velocity=1.62&fuel=150&time=1&burn=5'
Experience the classic Lunar Lander game, faithfully recreating the legendary HP-11C calculator version from 1981. This iconic space simulation challenged players worldwide to master the physics of landing on the Moon, just like the Apollo astronauts.
The Lunar Lander game has a rich history across HP's programmable calculator lineup. First appearing on the HP-25 in the mid-1970s, the game became a staple program demonstrating each calculator's capabilities. Popular versions existed for the HP-65 (1974), HP-67 (1976), HP-25 (1975), HP-29C (1977), HP-19C (1979), and the legendary HP-11C (1981). Each version adapted the core lunar landing challenge to its calculator's specific features and memory constraints.
The HP-11C version became particularly iconic due to the calculator's commercial success and the game's polish. Released during the height of space enthusiasm following the Apollo missions, these programs demonstrated sophisticated physics simulation in minimal computing resources - the HP-11C had just 203 program steps of memory! This web version preserves that authentic retro gaming experience while making it accessible in your browser.
Mission Objective: Pilot your Apollo-style lunar module from 1000 feet altitude to a safe landing on the Moon's surface
Starting Conditions: Altitude 1000 ft, Velocity 0 ft/s (hovering), Fuel 150 units
Controls: Each turn, decide how much fuel to burn (0-200 units) to control your descent
Time Step: Each turn represents 1 second of mission time
āļø REALISTIC LUNAR PHYSICS SIMULATION
Lunar Gravity: 1.62 m/s² (approximately 5 ft/s²) - one-sixth of Earth's gravity
Fuel Thrust: Each fuel unit provides 1 unit of thrust to counteract gravity
Hovering: Burn approximately 2 units per turn to maintain altitude
Physics Engine: Euler integration method for accurate trajectory calculation
Perfect Landing: Touch down with velocity ⤠5 ft/s for mission success
Landing Quality Ratings:
⢠Excellent: Impact velocity ⤠2 ft/s - Textbook Apollo-style landing
⢠Good: Impact velocity 2-5 ft/s - Safe landing with minor bounce
⢠Hard Landing: Impact velocity 5-10 ft/s - Damage to landing gear
⢠Crash: Impact velocity > 10 ft/s - Lunar module destroyed
Fuel Management: You have limited fuel - plan your descent carefully
Velocity Control: Monitor your descent rate - high velocity = crash
Gravity Effect: Without thrust, you accelerate downward at 5 ft/s every second
Perfect Descent: Gradual deceleration saves fuel and ensures safe landing
Pro Tip: Aim to arrive at low altitude with minimal velocity and some fuel reserve
RESTful API Design: Stateless gameplay - perfect for terminal/curl play
Real-time Physics: Authentic lunar gravity simulation
Interactive Playpen: Browser-based controls with visual feedback
Mission Statistics: Track fuel usage, mission time, and landing quality
Historical Accuracy: Based on actual lunar landing physics and Apollo mission data
API Endpoint: https://tcpdata.com/lunar-lander
Request Method: GET with query parameters
Response Format: JSON with current state and game status
Stateless Design: Pass game state in each request for complete control
Rate Limit: 500 requests/minute for smooth gameplay