Learning programming with D - optimizing the entry point / the environment?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 23 09:11:30 PDT 2017


On Thursday, 23 March 2017 at 12:36:30 UTC, Martin Tschierschke 
wrote:
> Very important I think would be to add some graphics, 
> especially to get the interests of kids, For example 
> arsd.simpledisplay.d with its nice learning example Pong.

Fun fact, I added Minesweeper to the example thing, and next I 
want to do Tetris and maybe Asteroids and Space Invaders.

I can do a lot of simple games like that in ~200 lines of code 
(pong is like 100, minesweeper is 170), so they make fun examples 
that are playable without being too big for newbies to copy/paste 
and start toying around with.

It is cool to be able to play with those little programs and 
customize them to your desire without having to mess with 
installing a hundred libraries. I miss the good old days in DOS 
when making games like that was actually really easy.


More information about the Digitalmars-d mailing list