JohnEarnest / ok

An open-source interpreter for the K5 programming language.
MIT License
587 stars 72 forks source link

added another iKe example: asteroids.k #20

Closed ngn closed 9 years ago

JohnEarnest commented 9 years ago

This is really great! I'm very excited to see that people who are not me are interested in playing with iKe. I hope you find oK to be an "acceptable K".

ngn commented 9 years ago

I don't feel I'm competent enough to comment on anything k-related (my background is JS and some APL), but I certainly find oK+iKe quite enjoyable. The combination of a terse array language, a small set of UI hooks, and a permissive license looks very promising.

refi64 commented 9 years ago

I like this, but it's worth noting that I left my ship sitting there for at least 60 seconds before an asteroid actually hit me.

ngn commented 9 years ago

Feel free to tweak the constants to your liking and share the change. An is the number of asteroids, As is their sizes. The 25 on this line is the square of the collision radius. I admit I'm terrible as a gamer and when the asteroids start breaking down into a swarm of pebbles even the present constants can challenge my hand-eye coordination.