Space Ghost

by madmaw
Overall★★★★★★★★★★3.10
Fun★★★★★★★★★★2.95
Innovation★★★★★★★★★★4.38
Theme★★★★★★★★★★1.52
Graphics★★★★★★★★★★2.73
Audio★★★★★★★★★★2.06
Humor★★★★★★★★★★1.57
Mood★★★★★★★★★★1.71
Community★★★★★★★★★★1.69
Coolness★★★★★★★★★★64%
A little Matlab-esque shooter. I guess it is vaguely to do with the theme since you're alone ... with a ghost ... in space. Also, there's a kitten!

The game uses hand-written Javascript/HTML5 and isn't obfuscated and doesn't rely on any third party libraries. You can view-source on the HTML document and it should be fairly obvious where the code is. The graphics were generated using a project I wrote a while ago, BatchSVG (Google it if you're interested) and just straight rendering of Javascript primitives. Sounds using SFXR.

In hindsight, a game using similar mechanics, but on a simulated mini-golf course would have been both a better fit for the theme (alone: no enemies) and probably a better game. Ah well, if there's enough interest in this I might look into it.

Comments21

A-Type
A-Type19 Dec 2011, 05:46
This would be more fun if I knew math! But it's a really cool concept. Backspace ruins syntax though...
galman
galman19 Dec 2011, 12:54
Amazing idea! Wish I knew math better. But I don't really see how it's connected to the theme... Well done!
madmawauthor19 Dec 2011, 22:48
Thanks for the comments guys. I'm trying to think of a way for the game to teach the basic shapes of different equations to the player, maybe through some kind of extended tutorial or function builder (operators are power-ups?). It would be good to make an educational game that didn't suck
youdonotexist
youdonotexist20 Dec 2011, 05:57
This is an awesome idea! It reminds me of the gif that shows what sin(t) looks like and how it relates to a circle (http://js.2x.io/trig-paperjs.html)

Visual stuff like that makes it much easier to grasp what's going on behind the numbers.

The only frustrating I encountered was.. I wish it was more of a text box interface and not a command line. The command line made it difficult to try different things, swap out components and keep another, copy and paste, etc.

Other than that, overall a great game!
Shigor
Shigor20 Dec 2011, 22:03
Great idea :) Good game for mathematicians and programmers, but right now I'm too tired to play it to the end :) (but going to bookmark)

(For the idea alone best overall / innovation rating I gave today :)
kato9
kato921 Dec 2011, 03:04
Uhh...well I'll admit I really didn't understand this at all. I tried typing in the equations you listed at the bottom of the page and nothing happened.
madmawauthor21 Dec 2011, 03:26
It could be a browser compatibility issue (I've only tested it in Chrome and Safari), but on the off chance it isn't, the page needs to have focus and you need to type 'L' <enter> when you actually want to launch.
Yoman22 Dec 2011, 15:24
I tried some simple addition then went straight to geometry, parabolas and such. Too bad I had forgotten most of what each formula actually looked like XD.

A good idea for an educational game. The graphics were absolutely appropriate, especially the screen flicker for some reason. The theme didn't fit so much, but only because of how the game is shown, not because there is only one 'character'. Good job.
tcstyle26 Dec 2011, 19:40
Innovative idea, but quite unintuitive to control.
SonnyBone
SonnyBone27 Dec 2011, 01:32
Everything I type gives me SYNTAX ERROR. I can't see what I'm typing on the screen.
madmawauthor3 Jan 2012, 01:27
If you run out of space, try typing CLR followed by the enter key, that will clear the screen. There are some examples of what it expects if you look at the help, or scroll down on the page.

I was going for an old telnet style interface, but yeah a simple HTML textarea would have been easier to use and quicker to implement.
Milo
Milo8 Jan 2012, 19:04
YES! MATH! This game was really innovative, and I enjoyed it quite a lot since math is the best thing ever. I would like it if you could repeat levels (or choose not to advance to the next one), because I wanted to figure out lots of formulas for each one.

Although, the fact that you could define piecewise functions through tables or the ternary operator made it easier (although I didn't use this solution 'cuz it's not fun):
pts = [[0,0],[-0.5,1],[-1,0]]
num = Math.floor(t*5)
x = pts[num][0]
y = pts[num][1]
madmawauthor9 Jan 2012, 04:08
Ha! You got me! Yep, there is very little validation, so you can basically enter raw Javascript to avoid the need for math. Nice outside the box solution.
kosinus
kosinus9 Jan 2012, 22:47
This is GENIUS. Or maybe I've just not seen a whole lot of these before. Absolutely fantastic.
madmawauthor10 Jan 2012, 02:49
Wow, second in innovation! That's super-cool guys.

Thanks to everyone who voted. and/or commented. I'm going to take what I've learned, and all the suggestions (especially regarding the barriers to entry), onboard and see if I can make a professional version of this.
madmawauthor10 Jan 2012, 02:50
Wow, second in innovation! That's super-cool guys.

Thanks to everyone who voted and/or commented. I'm going to take what I've learned, and all the suggestions (especially regarding the barriers to entry), onboard and see if I can make a professional version of this.
madmawauthor10 Jan 2012, 02:52
Awww, man, double post
hdon
hdon11 Jan 2012, 16:05
x=Math.random()
y=Math.random()
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
madmawauthor11 Jan 2012, 23:58
Love it!
Zolomon26 Feb 2012, 16:39
I COMPLETELY love this game! Could you do something like this for vector math as well?

Other games by @madmaw

Found a bug?
Tell us on Discord