Outrunning Space! by drludos

[raw]
made by drludos for LD 42 (COMPO)

Dear player, we had to keep the main area of the web page to display a word from our sponsors. Sadly, it means that we are running out of space to display the wonderful game that you want to play.

Therefore, we had to use the only space left to display the game: the URL address bar at the top of your browser window.

outrunning<em>space</em>coverD.png

How to play?

Look up at the URL bar!

You are the "X" running out from the deadly "Space" at the left of the screen.

From time to time, you'll see "o" shaped obstacles on the floor.

Press any key to jump over the obstacles.

You'll earn 1 point each time you evade an obstacle.

If you hit an obstacle, you'll fall back and will come closer to the space of the left.

Once the space catches you, you're dead!

Your current score is displayed between the two "#" signs.

About the game

Sadly, due to real life constraints, I had only 2h30 in total to work on a game for this compo.

I really loved the theme, and while I knew I had to keep the scope very small due to very limited time, I thought that it could be funny to interpret the theme as "we are running out of space in the web page to display the game, so you have to play it from the URL bar".

So that's it, "Outrunning Space!" is a very simple game taking place in the URL bar, where you have to avoid obstacles in order to outrun a deadly "Space" in the URL.

It was made in Javascript, using the location.replace() method to modify the URL display inside the browser URL bar.

Extra theme constraints

At first, I thought that the theme could be a cool way to make a "small game", as in "taking as less disk space as possible for the source code". So, there you have it: once minified (striped comments + regpack'ed) the whole code source is only 792 Bytes, so way below the famous 1KB code limit of the JS1K code compo :).

The source code is inside the HTML page of the game (due to its small size, I wrote it directly inside the HTML page, with comments and all).

Conclusion

All in all, I hope you enjoy this game despite its very "simplistic" nature (using a 1x20 display area is though!)

By-the-way, it's a Javascript game, it should work on every browser, except Safari (and maybe others) as it doesn't display the whole URL in the address bar.

I've only tested it on Firefox, so I hope it will also run well on others browsers (I lacked time to do more thorough testing, sorry!)

!WARNING!

As several of you reported in the comments, playing this game will add a lot of entries to your browser history. If you don't want this to happen, please play the game in "private / incognito" mode (or simply delete the entries after playing). I'm very sorry about this issue, it's a side effect of the Javascript function I used (location.replace()) to display the game in the URL bar. Thanks to those of you who reported it!

Ratings

Overall 58th 3.936⭐ 72🧑‍⚖️
Fun 207th 3.528⭐ 73🧑‍⚖️
Innovation 1th 4.896⭐ 74🧑‍⚖️
Theme 2th 4.556⭐ 74🧑‍⚖️
Graphics 601th 2.598⭐ 63🧑‍⚖️
Humor 10th 4.075⭐ 62🧑‍⚖️
Mood 283th 3.093⭐ 56🧑‍⚖️
Given 5🗳️ 3🗨️

Feedback

omercanbalandi
13. Aug 2018 · 00:51 UTC
Amazing ahaha :D.Great idea !
jasperarmstrong
13. Aug 2018 · 00:56 UTC
Nice game! Especially nice considering you made it in 2h30m. It's simple, fits the theme well, and is unique. At least I've never seen a game in the url bar before.
Jimbly
13. Aug 2018 · 00:59 UTC
Heheh, great take on the theme, and very unique! My score: 17.
Alexei Jilinskiy
13. Aug 2018 · 01:01 UTC
Unique and really original game, cheers to you!!
rvenson
13. Aug 2018 · 01:02 UTC
I've never seen this before. This game is awesome
KiotiKid
13. Aug 2018 · 01:02 UTC
HOLY CRAP! I LOVE THIS IDEA!! Its very simple. Love the animation and I definitely have never seen a game played in a url bar. Very limited space indeed!
Jakub Kazimierski
13. Aug 2018 · 01:02 UTC
Really unique concept!
panda
13. Aug 2018 · 01:05 UTC
On point! Well done!
Niker107
13. Aug 2018 · 01:14 UTC
As everyone else has said - a very creative idea, and I like that it's executed right in the browser. I was expecting it to be a 2D game emulating a browser. One criticism I'd say is I think the player should be able to jump over the Os if they're 2 points away, not only 1.
Guilhermoni
13. Aug 2018 · 01:16 UTC
Simply genius, really well done.
Stephen Coley
13. Aug 2018 · 02:40 UTC
This is the most clever and innovative entry I've played yet. It took me a second to get the hang of the jump, but after learning the timing the game really shines for what it is. Not to mention the premise of your screen space being taken up by the sponsor is pretty funny. Kudos!
Nats
13. Aug 2018 · 07:36 UTC
It's very original !! Never see nowhere. Congratulations! ^^
mshopf
13. Aug 2018 · 14:45 UTC
This is a one-of-a-type. Never seen anything similar, extremely original.

Of course, there is only oh-so-little you can do with this concept. But kudos to the idea! Also, the AscII art works astonishingly well.
Vincent Knauss
13. Aug 2018 · 23:54 UTC
Wow, this is my new gold standard for what the innovation category is for
DEAD_P1XL
13. Aug 2018 · 23:55 UTC
This is fantastic. Nobody would suspect you could do that, and it's actually fun.
ectucker1
13. Aug 2018 · 23:59 UTC
I love the animation of the player. It's way smoother than I would have though possible.

I was never quite sure whether I made a jump or missed it, so some more feedback could be useful there.
Cpone
14. Aug 2018 · 00:01 UTC
The whole idea of this is absolutely nutty. The fact that you managed to create a game using the URL bar is impressive as hell. The game is fairly difficult at the moment as you need to be incredibly precise with your jumps but overall the game is pretty cool.
Andreas Roschal
14. Aug 2018 · 00:47 UTC
That's one of the simplest and most creative game ideas I have ever seen at a game jam. Great work!
deathray
14. Aug 2018 · 01:50 UTC
5 stars for innovation! That is really a creative solution. Now I'd like to see a game jam where the theme is to make a game entirely in one line of text.
artbohr
14. Aug 2018 · 01:51 UTC
Very original idea, pretty impressive, nice one!
Wicked
14. Aug 2018 · 03:06 UTC
I had no idea this was possible, bravo! I super dig that runnning animation too, well done!
CosmicCrystalGames
14. Aug 2018 · 03:13 UTC
Haha this was fantastic! Well done!
neurobomber
14. Aug 2018 · 04:21 UTC
Wow! In all my years of web development I never even once thought of doing something like this! Super clever!
svntax
14. Aug 2018 · 06:28 UTC
This is such a clever idea.
wowods
14. Aug 2018 · 10:08 UTC
Best idea ever for this theme...
With only 150 minutes on your hands, you got the idea and finishing this jam, I salute you sir...
Rob White
14. Aug 2018 · 10:57 UTC
A very clever idea. Good job!
Raccoon_JS
14. Aug 2018 · 17:37 UTC
NICE! That was a great ides.
bloodyaugust
14. Aug 2018 · 23:39 UTC
Very fun idea! Definitely the most innovative entry I've seen in a long time. I really enjoyed seeing this!

As a fellow web dev, perhaps check out [replaceState](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState(%29_method) as an alternative method of changing the URL, to do so in such a way that doesn't kill my browser history. Perhaps in the mean time, you could add a warning to run in Incognito mode?

Also, did anyone else's eyes get severely fucked from playing this for a while? :laughing: Looking away from the URL bar induced a weird double blue patch and tiny Guitar-Hero effect for me.
Pace
15. Aug 2018 · 01:17 UTC
I love the creativity of your take on the theme!
Crafty mine
15. Aug 2018 · 12:36 UTC
Great job
Really creative game
Team-on
15. Aug 2018 · 18:28 UTC
Ahaha! The most innovative game of LD42!
MiltonNH25
15. Aug 2018 · 19:29 UTC
While being a simple game, it really shines for creative use of the theme, and is the most unique game I have played in this jam so far. Good job.
LeReveur
15. Aug 2018 · 20:05 UTC
I have a not-so-wide resolution, so I had to make some clean in my Firebox bar, in order to get a long enough URL space to play the game. But it totaly worth it! It's amazing to make a little game like this in so little time, and yet make it fun to play! :thumbsup:
Swift
15. Aug 2018 · 21:39 UTC
Wow. This is brilliant. Super clever.
cppchriscpp
15. Aug 2018 · 21:46 UTC
Dang, I was entertained with this before I realized the constraints you worked with. This is _incredible_ for 2h30m. I don't think I have much to say that hasn't already been said, but very clever interpretation of the theme, and definitely something I've never seen before. The fact that you packed it into 1kb is also really impressive!

Thanks for an entertaining game!

ps: Semi related thing you might get a kick out of: someone got [defender running in a browser's favicon](http://www.p01.org/defender_of_the_favicon/) a while back.
webthingee
16. Aug 2018 · 01:31 UTC
I have never seen anything like that. nice!
randomphantom
18. Aug 2018 · 09:08 UTC
Incredible stuff!
Laminariy
19. Aug 2018 · 17:08 UTC
This is genius! My record is 41
dray
20. Aug 2018 · 12:16 UTC
this is such a brilliant idea !
Syrapt0r
22. Aug 2018 · 21:19 UTC
Pros:
- Maybe the best take on the theme I've seen yet
- Worked surprisingly well
- Awesome sponsor message
DDRKirbyISQ
23. Aug 2018 · 05:35 UTC
Yesssssssssss
Djack D Donovan
24. Aug 2018 · 14:08 UTC
By far the most original idea for this LD. Great work!
meatpudding
27. Aug 2018 · 01:19 UTC
Dear drludos I would like to leave a comment on your game but first a word from our sponsors
Matank
28. Aug 2018 · 15:39 UTC
Awesome idea! :)
inventroom
04. Sep 2018 · 04:46 UTC
Hey! Sorry for the wait, I've covered your game here:

https://www.youtube.com/watch?v=3SIZhon4MYE