FPS.cob: A first person shooter in COBOL

(github.com)

43 points | by MBCook 1 hour ago

6 comments

  • ltheanine 1 hour ago
    It would be nice to have screenshots. Also it’s just a single commit, did you use AI? Quoting the readme: “FPS.cob is what you get when you decide that game development is too easy nowadays”.
  • petercooper 45 minutes ago
    As a few people have asked for screenshots, I spun it up. Here's a video of the basic gameplay: https://peterc.org/misc/fpscob.mp4 .. it's clunky, but it does play.
  • bottlepalm 44 minutes ago
    You know what, that is some pretty readable code.. COBOL might have been on to something there. I've gotten so used to syntax soup this is refreshing.

    https://github.com/icitry/FPS.cob/blob/main/fps.cob

    • giraffe_lady 32 minutes ago
      I had to get into an old tcl program for work recently and had the same thought. I wouldn't necessarily pick it today but it was kind of nice in a way that's unfamiliar to me from modern development.
  • tlb 40 minutes ago
    They should compile it to WASM and host it.
  • spzb 50 minutes ago
    Doesn't run for me. Just I/O errors and quits.
  • rroriz 1 hour ago
    Come on, we need screenshots!