#noindex page name 적당한가? 대충 화면에 먹이가 있고 그걸 먹으면 길이가 늘어나는, 벽에 부딪히면 죽는, 스스로에게 부딪혀도 죽는. = Videos = What was Coding like 40 years ago? - YouTube https://www.youtube.com/watch?v=7r83N3c2kPw&ab_channel=TheCodingTrain [[Date(2023-12-13T13:33:55)]] 봄. 아마 Ggl:"Applesoft basic"? 프로그래밍. 보이는 문법 대충만 적어보면 (다른 basic에도 공통된 건 생략) `HOME` - 화면을 지우는. 다른 BASIC들에선 CLS CLRSCR CLEARSCREEN 뭐 이런것들이 있었나? dos console환경 basic 문법도 가물가물하네. `HTAB, VTAB` `HTAB 3 : VTAB 4` - 가로 3, 세로 4 위치로 이동. [[커서,cursor]] 위치? 아무튼 다른 BASIC에선 LOCATE등. DOS C console에선 `gotoxy()`는 기억나네 - TC 에서 stdio에 한 확장?? conio에서: `_settextposition`이라 함. (via https://opensource.com/article/21/9/programming-dos-conio ) DOS C BGI에선 `moveto()`. https://home.cs.colorado.edu/~main/bgi/doc/moveto.html (via Ggl:"bgi moveto") `PEEK` Read from [[메모리,memory]] - [[메모리접근,memory_access]] 중에 [[읽기,reading]]. `LET K = PEEK(49152)` ... 49152번지 ([[메모리주소,memory_address]])에서 값을 가져오기. 단위가 바이트인가? `POKE` Write to/on memory. - [[메모리접근,memory_access]] 중에 [[쓰기,writing]]. `RND(aexpr)` Returns a random real number greater than or equal to 0 and less than 1. - [[난수,random_number]]. ---- Up: [[게임,game]] > [[computer_game]] ? / [[게임프로그래밍,game_programming]](의 쉬운 예시로 좋은)