www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Who is up to join this project using D?

reply Dr Machine Code <jckj33 gmail.com> writes:
they'll be updating those original 101 BASIC games in memory 
safe, general purpose scripting languages:

Java
Python

VB.NET
JavaScript
Ruby
Delphi / Object Pascal
Perl

I thought it would be cool to have some D over there! Even Delphi 
is there lol



https://blog.codinghorror.com/updating-the-single-most-influential-book-of-the-basic-era/
Jan 01 2022
next sibling parent Era Scarecrow <rtcvb32 yahoo.com> writes:
On Saturday, 1 January 2022 at 20:58:16 UTC, Dr Machine Code 
wrote:
 they'll be updating those original 101 BASIC games in memory 
 safe, general purpose scripting languages:

 https://blog.codinghorror.com/updating-the-single-most-influential-book-of-the-basic-era/
Sounds interesting. Though YaBasic would probably suffice for a near 1:1 translation. I'm sure most of the games would be fairly simple. Tic-tac-toe, guess a number from 1-100, hangman, etc. The original BASIC games *probably* didn't understand graphics and the minimal MS-BASIC all the games shared mostly re-printed everything when something updated. (*which is also how the Apple 1 machine worked too*). Also the magic of the book wasn't the games. It was you writing it in yourself, and in the process you'd teach yourself how to do programming. Regardless it might be fun to do a re-write of some of them. Though if all 101 games are being re-written for every language or some languages I'm not sure on.
Jan 01 2022
prev sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Saturday, 1 January 2022 at 20:58:16 UTC, Dr Machine Code 
wrote:
 they'll be updating those original 101 BASIC games in memory 
 safe, general purpose scripting languages:

 Java
 Python

 VB.NET
 JavaScript
 Ruby
 Delphi / Object Pascal
 Perl

 I thought it would be cool to have some D over there! Even 
 Delphi is there lol



 https://blog.codinghorror.com/updating-the-single-most-influential-book-of-the-basic-era/
Step one: https://github.com/coding-horror/basic-computer-games/pull/365 As can be read from this PR there is some friction in getting D to pass [the filter](https://discourse.codinghorror.com/t/updating-101-basic-computer-games-for-2022-and-beyond/7927/34). -- Bastiaan.
Jan 03 2022
parent reply bachmeier <no spam.net> writes:
On Monday, 3 January 2022 at 10:07:47 UTC, Bastiaan Veelo wrote:
 On Saturday, 1 January 2022 at 20:58:16 UTC, Dr Machine Code 
 wrote:
 they'll be updating those original 101 BASIC games in memory 
 safe, general purpose scripting languages:

 Java
 Python

 VB.NET
 JavaScript
 Ruby
 Delphi / Object Pascal
 Perl

 I thought it would be cool to have some D over there! Even 
 Delphi is there lol



 https://blog.codinghorror.com/updating-the-single-most-influential-book-of-the-basic-era/
Step one: https://github.com/coding-horror/basic-computer-games/pull/365 As can be read from this PR there is some friction in getting D to pass [the filter](https://discourse.codinghorror.com/t/updating-101-basic-computer-games-for-2022-and-beyond/7927/34). -- Bastiaan.
The only filter is that Jeff Atwood decides it goes on the list. I wouldn't bother trying. He excluded PHP and R because they're not scripting languages, a claim that doesn't make any sense. When someone said PHP is a scripting language by his definition the only response was "we gotta draw the line somewhere". I think posting the programs on this site would be valuable. (Assuming the goal is not to show off D's generic code and metaprogramming capabilities.) Some of the existing examples on the homepage are pretty scary.
Jan 03 2022
next sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Monday, 3 January 2022 at 17:06:28 UTC, bachmeier wrote:
 The only filter is that Jeff Atwood decides it goes on the list.
Surprise: https://github.com/coding-horror/basic-computer-games/tree/main/01_Acey_Ducey/d There is still debate on what languages should and shouldn't be represented, and [it looks like Pascal is going out](https://github.com/coding-horror/basic-computer-games/issues/343). At least for now, D is in! So for others that find joy in porting old games to D, please join in the fun :-D -- Bastiaan.
Jan 04 2022
next sibling parent reply pilger <abcd dcba.com> writes:
On Tuesday, 4 January 2022 at 19:48:35 UTC, Bastiaan Veelo wrote:
 So for others that find joy in porting old games to D, please 
 join in the fun :-D
too bad this is only about the original first volume. the one i got back then and still own is the book which includes that hunt the wumpus game and eliza. those i would enjoy to port.
Jan 04 2022
parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Tuesday, 4 January 2022 at 20:15:54 UTC, pilger wrote:
 too bad this is only about the original first volume. the one i 
 got back then and still own is the book which includes that 
 hunt the wumpus game and eliza. those i would enjoy to port.
That's [issue https://github.com/coding-horror/basic-computer-games/issues/92).
Jan 05 2022
prev sibling parent bachmeier <no spam.net> writes:
On Tuesday, 4 January 2022 at 19:48:35 UTC, Bastiaan Veelo wrote:
 On Monday, 3 January 2022 at 17:06:28 UTC, bachmeier wrote:
 The only filter is that Jeff Atwood decides it goes on the 
 list.
Surprise: https://github.com/coding-horror/basic-computer-games/tree/main/01_Acey_Ducey/d There is still debate on what languages should and shouldn't be represented, and [it looks like Pascal is going out](https://github.com/coding-horror/basic-computer-games/issues/343). At least for now, D is in! So for others that find joy in porting old games to D, please join in the fun :-D -- Bastiaan.
Sometimes it's good to be wrong.
Jan 04 2022
prev sibling parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Monday, 3 January 2022 at 17:06:28 UTC, bachmeier wrote:
 I think posting the programs on this site would be valuable. 
 (Assuming the goal is not to show off D's generic code and 
 metaprogramming capabilities.)
Or even when that is the goal... Could not resist: https://github.com/coding-horror/basic-computer-games/tree/main/87_3-D_Plot/d#bonus-self-writing-programs -- Bastiaan.
Jan 05 2022