in reply to game programming

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^2: game programming
by hv (Prior) on Jun 17, 2023 at 13:59 UTC

    In JavaScript, you have builtin support for timed events which you can execute with millisecond precision. Without modules, Perl can only do that with second precision.

    This has not been true since around 2002:

    % corelist Time::HiRes Time::HiRes was first released with perl v5.7.3 %

    (I also disagree with most of your opinions, but this one is a simple factual error.)

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: game programming
by marto (Cardinal) on Jun 17, 2023 at 14:01 UTC

    "I don't know what kind of game you are trying to create"

    Wouldn't it make more sense to ask for details before responding with a wall of text?

    "I would suggest that you look up XBASIC and PureBASIC and LibertyBASIC and see what you think."

    OP asks 'I have written a short game with javascript and want to translate it into perlcode., how is recommending three variants of BASIC a valid response to that? You often respond to posts on a perl forum with suggestions of using another language.

    "Perl is geared toward data processing. That means reading/writing files. Reading/writing stdin and stdout. whether it's binary data or plain text. Executing other programs, capturing their output. Then finding patterns, replacing patterns. Perl is superb when it has to work with various lists and finding things in a list. Perl is a really good tool for creating a program that generates a summary, an dynamic HTML page, a conversion program that reads one type of file and writes another type of file. Perl is good with printing readable plain text to the screen."

    Your aversion to using a build of perl released within the last 20 years, and the modules/framworks available is really showing...

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: game programming
by jwkrahn (Abbot) on Jun 17, 2023 at 16:14 UTC
    Now, that would be a weird game if the user had to navigate it by typing commands and have to press Enter each time for that to register.

    Well, I guess you've never played Zork?

    Naked blocks are fun! -- Randal L. Schwartz, Perl hacker
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: game programming
by karlgoethebier (Abbot) on Jun 17, 2023 at 14:12 UTC