JS1k

#3, Oregon Trail



These are all the submissions for JS1k #3:Oregon Trail. Ordered randomly.


DetailsNameWebBytesDesc
demo
source
original
short url
idealmachine 1020 Pi unrolled, Oregon Trail style (Loosely) based on this animation by Wikipedia user John Reid: <http://en.wikipedia.org/wiki/File:Pi-unrolled-720.gif> I license my version under the same terms: <http://creativecommons.org/licenses/by-sa/3.0/deed.en> tweet
demo
source
short url
Troy Whiteley 896 Fixed Firefox 3.6 tweet
demo
source
original
short url
Matthew Lein 1014 Hunting at Bear Junction It's bear season at Bear Junction. Click to shoot at the bears. Only 1 bullet at a time--its one of those old school guns. Hunt for as long as you like! ----- I grew up playing Oregon Trail Deluxe, so this is modeled after that. Hunting was always my favorite part. tweet
demo
source
short url
Björn Söderqvist 1011 An HTML5 version of the Flash-powered Colour Clock: http://thecolourclock.co.uk/ If you break it out of the frame, it will also display the time in the title tag (in fact, that's what it does all the time!) With Favicon support! (Requires Chrome) tweet
demo
source
original
short url
Artem Smirnov 1019 **UPDATE** **FIXED BUGS** Very simple pong game For control left paddle press 'A' and 'Z', For control right paddle press 'K' and 'M'. For win your score should be 15 or more points and greater than score of another player for 2 or more. tweet
demo
source
original
short url
xpansive 1023 *Platformer Update* Despite what my parents told me to do, I kept working on my entry and managed to shave off another 60 bytes or so. So, I fixed every bug I knew of (there were a lot) and made the game reset when you get to the top, except with smaller floors and faster enemies. The powerups don't reset however, so make sure you don't get all of them on your first level! (There's more now so they'll last longer). tweet
demo
source
original
short url
Max Novakovic 1012 Uses the load/boot screen from Oregon trail but adds a little more "circular motion". Mouse over or click for a bit more fun. Thanks to George Profenza aka @orgicus tweet
demo
source
original
short url
Rob Middleton 1021 wads to move, click to shoot Final Stand You are deep in enemy territory with only 8 bullets. There is no way you will make it out alive. Kill as many of those bastards and take their ammo before they kill you. This is your final stand. tweet
demo
source
original
short url
Ben Driscoll 976 A forest scene, my first js1k! After the initial shock of fitting code into only 1024 bytes, and cutting stuff that wouldn't fit, I realized I could squeeze it even smaller at the last moment. So here's my final submission. I feel like I could even add something at this point, but at the time of writing this the deadline is only 8 minutes away. Let me know if you see any more ways to compact it without changing the functionality, twitter @daisyowl. I've attached the source, which is only slightly less garbled than the crunched version. I used the YUI compressor on the final product, which was by far the best tool I tried. It automatically preserves global variables (doesn't crunch up all the drawing methods, only local private variables) and always returned code that functioned identically. Thanks for checking it out! I only found out about this a few days ago, and I can't wait till the next one starts. tweet
demo
source
original
short url
SkyLined 1024 Implementation of 3D Simplex Noise used to generate plasma. I hope it's fast enough to run at a decent frame rate on slower PCs - try shrinking the window and refreshing to decrease the quality and speed it up if it's slow. The compression: The minimized, uncompressed source is 1443 bytes (optimized for compression). Just under 1K is taken up by the noise generator, the remainder is the plasma drawing code. Using my own custom made compressor (http://code.google.com/p/jssfx/), it is compressed to 910 bytes. The remainder of the 1024 bytes is comment. The plasma: Since I first saw Unreal by the Future Crew many years ago, I've always wanted to duplicate the "realcolorplasma" effect. This is not a perfect duplicate, but it's got a pretty natural flow and looks genuinely random, like the original. To create a sense of waves, noise is generated at 3 scales, one for each RGB color channel, with noise used for red having the largest scale and blue the smallest. To causes the smaller waves to move around a tweet
demo
source
original
short url
Paweł Brzeziński 1024 Just a simple cave flying game. My highscore : 151 :P tested on : chrome 10.0.648.204 ffx 3.6.3 opera 11.10 safari 5.0.4 tweet
demo
source
short url
Ben Scholl 1014 firefly.js: a handful of words transform into a dancing display of quickening lights Works with the 4 required browsers, plus IE9. Mostly minified by hand, and then with a quick Node script I wrote which calls Marijn's UglifyJS and then does some eval-based shortening - this got the size down from 1044 to 1014 bytes. tweet
demo
source
original
short url
p4p4p4 690 little ray marches on tweet
demo
source
original
short url
Kirill Maltsev 1000 Just a simple typing game. tweet
demo
source
short url
Elieder Sousa 1003 Fireworks Display This script implements a simple and beautiful fireworks display, using 6 colours and "lighter" colour mixing from Canvas to provide some 'light' effect. Because the high number of radial coloured circles, the script sometimes will run slow/fast; but works fine.. anyway. ** UPDATE ** 1003 bytes -> Improved code: now particles are removed when a fixed integer value is reached; which is better than "+new Date" method; -> Changed setInterval delay to 25 to balance the speed over the browsers; -> Now working on 4 required browsers; -> 2 more colours! Enjoy the fuchsia and aqua colours! tweet
demo
source
short url
Jakub Wieczorek 1024 An out of contest entry (due to not working on any other browser than Chrome >= 9.0) which uses Web Workers to compute successive prime numbers and projects the result in an Oregon Trail like theme. tweet
demo
source
original
short url
Paul Evans 996 Night is falling, how many feet can you travel in your wagon? Click to turbo boost across the rivers. Refresh to restart. tweet
demo
source
short url
Taras Zlotnikov 1023 flexiDR↻ID game. Try to collect all of the stars using the droid arm (looks like a rope :) and three following items: ↻ - arrow, twists the arm to the right ↺ - arrow, twists the arm to the left ○ - circle, has no extra power Press left mouse button to move items and double click to restart. If you face any trouble, watch: http://www.youtube.com/watch?v=HmwEye3qDw0 . The game supports all browsers, but I STRONGLY recommend Google Chrome. Enjoy! :) tweet
demo
source
short url
Román Cortés 952 Entry out of contest (I'm part of the jury). It is just a voxel raycaster. I tried to capture the retro-videogame-look of The Oregon Trail. tweet
demo
source
short url
Remco Veldkamp 1022 * UPDATE * - added color cycling - removed characters > charcode 127 - tweaked the 3d perspective tweet
demo
source
short url
Tim Down 1022 Minesweeper. 9x9 grid, 10 mines. How to play: - Reveal a square by clicking on it. If it's a mine, boom. If not, it tells you how many mines it touches. If the square is not touching any mines, all its neighbours are automatically revealed. - Flag/unflag a square containing a mine using Shift-click. - Reveal all remaining unrevealed and unflagged neighbours of a square using Shift-click - The time taken is displayed on successful completion. Controls: - Click to reveal a square - Shift-click an unrevealed square to flag or unflag it - Shift-click a revealed square to reveal all its remaining unrevealed and unflagged neighbours Notes: I was not willing to compromise and lose features such as the timer, revealing a square's neighbours (middle-click from the original Windows game) and different coloured numbers, but after minifying by hand I still had around 1200 bytes, so I wrote a simple crushing script and got down to the magic 1024. tweet
demo
source
short url
Paul Sonnentag 1010 Monoworld A small pixelworld 16x16 squares. Draw a plant and two animals and watch how they behave. The size and the color of an animals affects its behaviour. Smaller Animals move faster then bigger ones. Black animals eat other animals while white animals eat plants. They can breed if two animals of the same kind are next to each other. Plants spread all over the world - the smaller they are the faster they grow. tweet
demo
source
short url
Romanenko Aleksey, Goryakin Sergey 1017 Far far away, somewhere in Oregon prairies there was a Snake! It loves apples, each of them adds five segments to the Snake, but be careful: if snake bites itself or hits the wall, it would die of dysentery! Become a mighty snake with 150 segments length and get level up. Good luck! Control snaky with cursor arrows. 'Space' to pause, 'N' for new game. tweet
demo
source
original
short url
Jason Brown 1017 I couldn't decide between doing wavy water or some cheap 3d terrain so I went with both. My attempt generates water and terrain in 3d, randomly switching between both. Signifies the terrain and rivers the brave people of the Oregon trail had to overcome.. umm yeah. tweet
demo
source
original
short url
Egon Elbre 1023 Block Builder [with improved controls] Instructions : Arrows=move; a=pick block; z=put block, x=jump, 1-9=select block type. (inspired by Minecraft) tweet
demo
source
original
short url
Mikhail Davydov 974 Sticky notes like iOS Notes. Double click to add note. Focus note and add some text. Press "Esc" on note to delete it. Your notes are always in localStorage. tweet
demo
source
original
short url
Forton Michaël 1017 This is a clock in shape of domino pieces. Just count the dots to get the hour:minutes:seconds... I got inspired by a real clock design, to make this one in a html canvas. Thanks to Carbon Design! http://www.carbondesign.com/repurposing-an-icon-introducing-carbons-domino-clock. tweet
demo
source
original
short url
Totti Anh Nguyen 1024 Move the mouse to aim. Mouse click to make a shot. GAME: Tactical 8-ball Pool You have to move your White ball to touch the Blue ball while not touching the Red ones. Game starts with 0 Red balls. If you can move the White ball to touch the Blue one, one point added and you go to next level where one more Red ball is added to the game. Max number of Red balls is 8. If White ball touches a Red ball. Game OVER. If White ball falls down the black holes. Game OVER. tweet
demo
source
original
short url
Chris Hallberg 1024 ** UPDATE : BUG FIX ** FORD THE RIVER! Get the wagon to the right side of the river to advance! Three levels to cross! Click to select blocks. Arrow keys to move blocks. Thanks to Tim Sanders for the Level 2 bug catch. tweet
demo
source
original
short url
Martin Kleppe 1024 You're the last man standing but to leave this dirty town you need more money. The barmaid offers you a simple poker game: You start with 100$ and every round cost 10$. Winnings: 20$: Two Pairs 40$: Three 60$: Straight 80$: Flush 100$: Full House 120$: Four 140$: Straight Flush 160$: Royal Flush Good luck, cowboy! tweet
demo
source
original
short url
LightFrog 1013 You pixel. You in desert. No water. You walk. You death. Possibly. tweet
demo
source
original
short url
Arne 1024 What do you do on a long journey? Play Spider Solitaire, of course. Press 1,2 or 4 for a new game. tweet
demo
source
short url
Alexander Vedernikov 1023 Multiplayer battle in the sky arcade. Features: - 9 hits to kill - barrel overheating - world is a cylinder - gravity simulation Controls: "j","k","l" for 1 player. arrow keys for 2 player. Let's the battle bigins! *Update: fix score display tweet
demo
source
short url
Tutmés Bertin 830 Update 3. A simple 3D cube demonstrating some of the 3D transformations: Rotation around the Y,X and Z axis, scaling and translation. It's using orthogonal projection because the perspective calculation didn't fit in 1k. tweet
demo
source
short url
David Strauß 1017 Pixelcopter: Don't crush your unique Pixelcopter! It's to cool to end up in a black block. Press the left mouse button to gain height, release to lose height. Your goal is to fly as long as possible! tweet
demo
source
original
short url
Mathieu 'p01' Henri 1021 Render a points cloud of 7000+ particles representing a carriage from the retro game the Oregon Trail. How much data ? There we have a colorful 7000+ points cloud spinning and twisting with shadow and lighting. That represents a 7000 x 4 = 28k of data for the position and color of the particles alone. Why ? Because I could not resist a good taunting ( http://twitter.com/#!/js1k/status/44870525780111360 ). Somebody had to render this bloody carriage in realtime. Thanks to @aivopaas for his JSCrush. My personal laptop died 3 days before the deadline and I had no backup of my code and especially of the new JS packer I am writing for JavaScript productions under 4k. tweet
demo
source
original
short url
Christoph Sassenberg 1018 Stay on the Oregon Trail - or you will die of dysentery! Use the up and down arrow keys to stay on the trail. But beware: the trail gets narrow and steep the further you go. Have fun! tweet
demo
source
original
short url
Peter Jaric 589 This is halftone.js, a port of my xscreensaver hack Halftone from 2002. Read more in the source code. It's my first try at using canvas and any feedback is very welcome! tweet
demo
source
short url
0x00 1001 A nuclear reactor! Use your mouse to move the control rods inside the core. Every time when a neutron passes a fuel rod there is a small chance that it hits an uranium atom which results in a nuclear fission. Enjoy the chain reaction. tweet
demo
source
original
short url
Jan Krutisch 1012 A simple racing game modelled after 80's LCD style handheld games (If you're born in the 70's or early 80's you'll recognize the game type, I guess. Uses @aivopaas' great js crusher, probably wouldn't have made it without it. The uglified game source clocks in at 1202 bytes, original with line breaks at around 1700. Nothing fancy, but I'm still amazed that I was able to make it in relatively short time. Thanks to @aemkei and @defsprite for challenging me :) tweet
demo
source
short url
Ronald 1012 2 player connect four game tweet
demo
source
short url
Gilmore Davidson 140 Tweet-sized entry (140b) with basic colour cycling and flashing text tweet
demo
source
short url
Ben Scholl 1018 Hanon.js * Based on the famous Hanon piano exercises * As HTML5 audio isn't quite there yet, a scrolling music score is provided instead. You'll have to play it yourself. Or ask a friend to. Or just watch the notes moving hypnotically up and down... * 3 different melodies are included - click to change exercise. One is Hanon no. 1, the other two are originals :) * A competent musician should be comfortable playing in any key signature. So each demo gradually takes you through all 12 keys. * Displays appropriate accidentals for each key * Includes ledger lines! tweet
demo
source
original
short url
Chris Hallberg 1020 ** UPDATE ** Ever-growing remake of the classic 15 square puzzle. Solve the puzzle to unlock the next size. How many can you solve? Arrow keys to move the blank tile. ChangeLog: Game now saves your last level in localStorage. Original Source included. tweet
demo
source
short url
Daniel Lee 1014 Alphabetoids Protect the defenseless object literal from the onslaught of characters! Type fast, for you are its only hope. tweet
demo
source
original
short url
Litvin Alex 990 Survival of the lost pixel. Use ARROWS to move and SPACE to shoot. Simple survival shooter game, all that you need to kill as much as you can. Monsters are very hungry so when you collide, you die! This is a short update to previous submission. tweet
demo
source
short url
Eugene Formanenko 1022 Just a colorpicker! UPD: display hex, rgb, hsv tweet
demo
source
short url
ponce 517 recursive crow tweet
demo
source
original
short url
Alexei Alexandrovich 1023 Яainbow. Kind of "clone" of "7colors" DOS puzzle game. You start at the left bottom corner, enemy (AI) starts at the right top one. The goal is to "conquer" more than 50% of "territory" faster, than your opponent does. Use keys from "1" to "6" to choose new color (available colors are listed at the bottom of the screen). You can choose neither opponent's current color(red-highlighted number) nor your current color(green-highlighted number). You can switch between "VGA"/"EGA" versions using "0" key(the game will restart, the only difference is playing field size - 34x34 vs. 50x50). **UPDATE** -saved a few more bytes -diamonds look more like diamonds now -original sourcecode is a bit more commented tweet
demo
source
original
short url
Fabian Jakobs 1014 Drunken ox wagon driver inspired by the old Lotus games. tweet
demo
source
original
short url
Takács János 1022 It's a pretty self-descriptive demo. tweet
demo
source
original
short url
Lauri Paimen 955 Boid simulator Boid simulator simulates flocking behavior of bird-like objects. Add boid with space, obstacle with enter, control behavior with B-Q keys and use your mouse to place obstacles and steer the boids. For more information, check http://en.wikipedia.org/wiki/Boids Controls for values affecting behavior: B/C Grass height D/E Maximum velocity of boid F/G Minimum distance between boids H/I Flock "gravity", how tightly boids flock (bigger value less) J/K Mouse "gravity", how much mouse pointer attracts boids (bigger less) L/M Obstacle size N/O Perching time P/Q Boid line of sight tweet
demo
source
original
short url
Arne 1024 The Orion Trail Try taking a journey by spacecraft across 20000000 miles of space, space, and space. Try! Will you slash your ship on an asteroid or get lost in the depths of space? If for some reason you don't survive, don't give up! Try again... and again... Controls: left/right - change launch position up - launch (hold to increase launch speed) down - abandon ship Hints: The planets show their current population. Try to change window size to change difficulty. Update: Included the name of the demo ;) tweet
demo
source
original
short url
Antti Silvast 1022 The Cowboy is a JS 1k demo that experiments in video playback. A cowboy rides past the screen in ten manipulated versions of the same short animation. Specific software, created with Processing, was used to transform each frame of the original video to a minimalistic black and white animation screen. The original video is public domain and was retrieved from the digital library archive.org (link: http://www.archive.org/details/CEP500). (Update: added Twitter contact details.) tweet
demo
source
short url
pitr 1013 A basic NetHack-lookalike (my favourite game!): - move - HJKL = left,down,up,right - get points - enjoy the scenery tweet
demo
source
original
short url
Graham Licence 933 Run away! Use arrow keys to move. tweet
demo
source
original
short url
Camilo Tapia 1017 A simple space game with parallax stars, starship, enemies and lasers. Simply put, everything that is needed for a game in space. tweet
demo
source
original
short url
Arne 1024 It's a puzzle bobble clone. Left/right arrows turn your pointer while up arrow shoots a bubble. tweet