Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.91 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.91 KB

COBOL-Higher-or-Lower

A simple Higher or Lower game made using COBOL (Heck yeah thats old)

Features

- Higher or Lower basic functionalities
- Exit the game while playing
- Difficulty system
- Score reward based on the difficulty

Acknowledgements

Despite the fact that it's an old programing language it's still powering a lot of banking application and airline ticketing All those apps mainly runs on the IBM Mainframe or as it's called the big iron

To go further on how and why COBOL is still in use i can recommend you read these articles :

Running the game

You have two ways of running the game :

  • Use the precompiled executable in the bin folder
  • Compile the binaries yourself with the cobc COBOL compiler

-- For running the precompiled executable

simply run the .exe file in the bin folder called Higher-or-Lower.exe

Note That since it was compiled on a windows machine i dont know if the binaries are compatible with Linux or Mac system and will recommand compiling the binaries yourself

-- For compiling the binaries yourself

To compile the binaries by yourself you will firstly need one of the two :

you can use either of these to compile the .cbl file named Higher-or-Lower.cbl it will produce an executable that you will be able to run on your platform and enjoy

Have Fun 😁

Authors