You are viewing a single comment's thread from:

RE: 🎮 Text Based Games on Steemit

in Steem Devlast year

It's been a long time since I've done anything in C - unless that awful objective-C thing that iPhone apps needed to use! It's interesting to see so many "goto" commands in the code. That was the first thing that my school IT teacher drummed into us - don't use "goto". I have no idea how you'd go about integrating that into a Steem bot!

It's definitely along the lines of what I was thinking - I'm not sure my game will reach that level of complexity although my new plan as of today is to release 1 level at a time. Like Candy Crush do 😆

Sort:  
 last year 

That was the first thing that my school IT teacher drummed into us - don't use "goto".

I didn't learn this until college. And I resisted it for a while. But yeah, "goto" seems strange to me now, too.

I think the original Collosal Cave code was written in the '60s or '70s (I'm pretty sure I was playing it on a Honeywell mainframe and family member's teletype & dial-up modem by the late '70s), so ESR probably just brought the GOTOs forward from the original.

Coin Marketplace

STEEM 0.16
TRX 0.17
JST 0.029
BTC 69589.60
ETH 2501.17
USDT 1.00
SBD 2.55