Making A Game In COBOL - Coding Like It's 1975
1.3 هزار بار بازدید -
ماه قبل
-
Hello everyone! In this video
Hello everyone! In this video I show a little bit about everyone's old favourite programming language which just refuses to die called COBOL.
The language is really easy to learn, the hardest part was figuring out how to correctly interact with the C language to make the game. I decided to keep COBOL's fixed format just for the extra challenge :)
Code: https://github.com/SomeUnusualGames/i...
A nice video about the same language: Using COBOL to make a video game!
Timestamps
00:00 Preview
00:34 About COBOL
01:09 COBOL implementations - GnuCOBOL
01:43 About the game
01:56 raylib's Hello World in COBOL
02:31 Fixed format vs free format
03:05 How to format the code
03:34 How to declare variables
04:53 Procedure division and the code
06:01 How to handle C structs
07:40 The game's code
07:55 COBOL's preprocessor
08:39 COBOL's copybooks
09:19 COBOL's special levels
10:40 Arrays in COBOL
11:15 Floating point in COBOL
11:39 "For" type of loop in COBOL
12:27 "The verbose way"
13:04 Intrinsic functions
13:29 ELSE IF Trap
16:04 NEXT SENTENCE considered harmful
17:47 Final thoughts and ramblings
19:05 End
The language is really easy to learn, the hardest part was figuring out how to correctly interact with the C language to make the game. I decided to keep COBOL's fixed format just for the extra challenge :)
Code: https://github.com/SomeUnusualGames/i...
A nice video about the same language: Using COBOL to make a video game!
Timestamps
00:00 Preview
00:34 About COBOL
01:09 COBOL implementations - GnuCOBOL
01:43 About the game
01:56 raylib's Hello World in COBOL
02:31 Fixed format vs free format
03:05 How to format the code
03:34 How to declare variables
04:53 Procedure division and the code
06:01 How to handle C structs
07:40 The game's code
07:55 COBOL's preprocessor
08:39 COBOL's copybooks
09:19 COBOL's special levels
10:40 Arrays in COBOL
11:15 Floating point in COBOL
11:39 "For" type of loop in COBOL
12:27 "The verbose way"
13:04 Intrinsic functions
13:29 ELSE IF Trap
16:04 NEXT SENTENCE considered harmful
17:47 Final thoughts and ramblings
19:05 End
ماه قبل
در تاریخ 1403/04/23 منتشر شده
است.
1,339
بـار بازدید شده