Skip to content
:ski: The classic PC Game SkiFree, but being a snowboarder instead of a boring old skier.
JavaScript CSS HTML
Find file
Pull request Compare This branch is 14 commits ahead, 12 commits behind basicallydan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
css
js
test
.gitattributes
.gitignore
CHANGELOG.md
README.md
Thumbs.db
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon.png
board4free-blogpost-banner.psd
board4free-github-banner.png
board4free-github-banner.psd
board4free-objects.png
board4free-objects.psd
board4free.png
index.html
license.md
npm-shrinkwrap.json
package.json
skifree-blogpost-banner.png
skifree-blogpost-banner.psd
skifree-github-banner.png
skifree-github-banner.psd
skifree-objects.png
skifree-objects.psd
sprite-characters.png
sprite-characters.psd
sprite-characters_Original.psd
yeti-big.png

README.md

Board4Free.js

I just started work this 3/14/15 and I've not done a whole lot yet. This is a work in progress modification of the JavaScript port of the popular 1991 PC game SkiFree by Chris Pirih.

You can play skifree.js by Dan Hough here (opens a demo page).

Features so far:

  • Being a snowboarder instead of a boring old skier.
  • Skiing down a never-ending ski slope with randomly-generated trees which do not have transparent backgrounds
  • Collision detection with trees - and the appropriate reaction
  • Turning left and right
  • Stopping
  • MONSTAHS! GRAAAAHHH! They even eat you and then run away because they're full
  • Distance tracking so you can see how far you've gone you absolute badass
  • Speed boost (this was a little-known feature to get away from monsters) using the F key
  • MOBILE SUPPORT - This is cool - try loading the the demo page on a mobile device and then use your finger to direct the skier around the pistle. Also try double-tap ;)
  • Rainbow jump platforms & jumping - though a couple of improvements could be made
  • LocalStorage high-score (thanks, @ddoolin!)
  • Custom-sized Hitboxes
  • Big trees & crashing into them both whilst boarding and jumping

So, what's left to do?

  • Stumps
  • Dog
  • Ski Lift
  • Burning Tree
  • Frozen Skier
  • Killing Snow Monster
  • Slalom Course

Some features which weren't in the original which I'd like to give a go:

  • Ability to choose snowboarder or skier.
  • Multiplayer (ooooo wouldn't that be fun?!)

Let me play the game goddammit!

Game Controls:

Use the mouse, arrow keys or WASD to control the player.

  • F - Player Speed Boost
  • T - Player Attempt Trick While Jumping
  • M - Spawn Snow Monster
  • B - Spawn Enemy Snowboarder
  • Space - Reset Game

MOBILE SUPPORT** - Use your finger to direct the snowboarder. Also try double-tap ;)

  • Open up index.html in Chrome, or maybe even Firefox - I haven't tested it in anything but Chrome, and I probably won't I'm afraid
  • Go.

I like to run Unit tests before I do ANYTHING.

  • Right, well first you need to do an npm install
  • Run mocha and you should see some beautiful passing tests

This is pretty frickin' sweet but it's clearly not finished. I can totally improve it. Let me improve it, dammit.

  • Dan Hough is #seekingcontributors
  • Make a pull request with your awesome additions.
  • Maybe raise an issue?

Contributors

Here's some lovely people who were kind enough to have opinions and spirit enough to make a pull request.

Thanks!

Third-party credits

License

See license.txt

Something went wrong with that request. Please try again.