Asteroids

The goal of the game is to collect as many points as possible. To do this, the player must try to survive for as long as possible by destroying the asteroids heading their way.

The game features a JavaScript version and, if you aren't a fan of JavaScript, another version is written in OCaml using SDL. This allows you to play either in your browser or locally.

Both versions are written in OCaml. You can find the source code for this game on GitHub.

🚀 Play