Ioccc Flight Simulator (2010)
The IOCCC Flight Simulator, created by Carl Banks, won "Best of Show" in 1998, operates on Unix-like systems, allows keyboard control of a Piper Cherokee, and supports customizable scenery files.
Read original articleThe IOCCC Flight Simulator, created by Carl Banks, won the "Best of Show" prize in the 1998 International Obfuscated C Code Contest. This flight simulator is notable for its compact size, fitting into under 2 kilobytes of code while providing a realistic flying experience with 6-degree-of-freedom dynamics, loadable wireframe scenery, and a basic instrument panel. It operates on Unix-like systems with X Windows and is available in the public domain. Users can control a Piper Cherokee airplane using keyboard inputs, with arrow keys for flight control and additional keys for throttle adjustments. The simulator features three instruments: an airspeed indicator, a heading indicator, and an altimeter. Scenery files can be loaded to enhance the flying experience, with options for various landscapes, including urban and natural settings. The program requires specific compile-time parameters to function correctly, and users are encouraged to create their own scenery files. The simulator's source code is available in the 1998 IOCCC Winners Distribution, which includes other winning entries. The project exemplifies the challenge of creating functional software within strict size constraints, showcasing the creativity and technical skill involved in obfuscated coding.
- The IOCCC Flight Simulator won the "Best of Show" in the 1998 IOCCC.
- It operates on Unix-like systems and is in the public domain.
- Users can control a Piper Cherokee airplane with keyboard inputs.
- The simulator includes three instruments for flight monitoring.
- Scenery files can be customized and loaded for varied flying experiences.
Related
Browser that uses ChatGPT to render web like it's 1996
The GitHub URL showcases "Web98: Fantasy Internet Simulator" by Nate Parrott. It offers a 1996 internet simulation through chatGPT, featuring various themed worlds and utilities. Installation requires Testflight or Xcode. OpenAI API key is essential.
RocketSim enhances and records Xcode Simulators
RocketSim enhances Xcode simulators with design comparison, grids, touch recordings, network monitoring, and more. It enables exporting recordings to MP4/GIF, customizing status bars, and optimizing for App Store previews, boosting developer productivity.
SimSig: Railway Signalling Simulations
SimSig is railway signalling simulation software for managing train traffic. Users act as signallers, ensuring trains reach destinations on time. It replicates British IECCs, offers various operating areas, supports multiplayer, and allows timetable creation. Compatible with Windows and limited Linux/Mac support. Prices vary.
Tic-tac-toe in a single call to printf
A C implementation of a tic-tac-toe game, created for the 2020 International Obfuscated C Code Contest, features highly obfuscated code using a single `printf` statement and checks for game conditions.
I Revived 3-Axis CNC Mill G-Code Simulator
The CNC Simulator is a standalone 3-axis G-Code simulator for visualizing CNC machining, featuring offline access, animation, and future enhancements for improved functionality and tool support.
- Users discuss installation and compilation on different systems, including OSX.
- Some have created their own versions or ports of the simulator, showcasing different locations.
- There is a common interest in finding video demonstrations of the app, with many users unable to locate any.
- Questions arise about the obfuscation of the code used in the simulator.
- Overall, there is enthusiasm for creating and customizing scenery files.
https://xyzzy.github.io/jsFlightSim
I tried to reverse-engineer the code to understand how the model in the simulator worked, only it raised more questions than answered. I did uncover that the author had flight simulator writing experience, so the mechanics were truly obfuscated. Carl, amazing piece of craftsmanship, tipping the hat!
#include "/dev/tty"
cc banks.c -o banks \
-DIT=XK_Page_Up -DDT=XK_Page_Down \
-DUP=XK_Up -DDN=XK_Down -DLT=XK_Left -DRT=XK_Right \
-DCS=XK_Return -Ddt=0.02 \
-std=c89 \
-Wno-unsequenced -Wno-implicit-function-declaration -Wno-implicit-int -Wno-empty-body\
-lm -lX11 -L/usr/local/Cellar/libx11/1.8.10/lib/ -I/usr/local/Cellar/libx11/1.8.10/include
Related
Browser that uses ChatGPT to render web like it's 1996
The GitHub URL showcases "Web98: Fantasy Internet Simulator" by Nate Parrott. It offers a 1996 internet simulation through chatGPT, featuring various themed worlds and utilities. Installation requires Testflight or Xcode. OpenAI API key is essential.
RocketSim enhances and records Xcode Simulators
RocketSim enhances Xcode simulators with design comparison, grids, touch recordings, network monitoring, and more. It enables exporting recordings to MP4/GIF, customizing status bars, and optimizing for App Store previews, boosting developer productivity.
SimSig: Railway Signalling Simulations
SimSig is railway signalling simulation software for managing train traffic. Users act as signallers, ensuring trains reach destinations on time. It replicates British IECCs, offers various operating areas, supports multiplayer, and allows timetable creation. Compatible with Windows and limited Linux/Mac support. Prices vary.
Tic-tac-toe in a single call to printf
A C implementation of a tic-tac-toe game, created for the 2020 International Obfuscated C Code Contest, features highly obfuscated code using a single `printf` statement and checks for game conditions.
I Revived 3-Axis CNC Mill G-Code Simulator
The CNC Simulator is a standalone 3-axis G-Code simulator for visualizing CNC machining, featuring offline access, animation, and future enhancements for improved functionality and tool support.