Re:Coffee Is Hard
by whatshisface on Friday October 18, 2019 @02:43PM
(#21293997)
It looks like JavaScript to me. Yes, these games are usually coded in scripting languages like JS or Python, even back in the day they were programmed in custom scripting languages running on the engines of yore. Finally, yes, these kinds of games are a great way to learn programming because they map very well on to basic control flow constructs (if, else, while) and don't usually require additional computer science knowledge.
[ Parent
| on HN ]
For python, check out pygame. It's outdated and only works with 2.7, but I think it can be installed with apt on Ubuntu and will teach the basics like rendering loops, frames, etc.
Re:Coffee Is Hard
by manifestsilence on Friday October 18, 2019 @05:41PM
(#21295312)
Pygame is still alive and great. It even has built-in support for game controllers, and nice stuff for managing sound effects.
Re:Coffee Is Hard
by throwaway377373 on Friday October 18, 2019 @04:21PM
(#21294777)
It works with Python 3.7 now, and has for sometime.
`sudo pip install pygame`