Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basicallydan/skifree.js
:ski: The classic PC Game SkiFree, but in JS.
https://github.com/basicallydan/skifree.js
Last synced: 6 days ago
JSON representation
:ski: The classic PC Game SkiFree, but in JS.
- Host: GitHub
- URL: https://github.com/basicallydan/skifree.js
- Owner: basicallydan
- License: mit
- Created: 2012-12-25T22:04:26.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-06-02T00:43:49.000Z (over 2 years ago)
- Last Synced: 2024-08-05T16:17:50.061Z (3 months ago)
- Language: JavaScript
- Homepage: https://basicallydan.github.io/skifree.js
- Size: 877 KB
- Stars: 509
- Watchers: 19
- Forks: 127
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: license.md
Awesome Lists containing this project
- awesome-open-source-games - Ski Free - Controls a skier on a mountain slope, avoiding obstacles while racing against time or performing stunts for points, depending on the game mode. (Browser-Based / Arcade)
- awesome-os - skifree.js
README
# Skifree.js
This is a **work in progress** JavaScript port of the popular 1991 PC game [SkiFree](http://en.wikipedia.org/wiki/Skifree) by [Chris Pirih](http://ski.ihoc.net/).
[**Play this right now if you want to**](http://basicallydan.github.io/skifree.js) (opens a demo page).
## Features so far:
* Skiing down a never-ending skislope 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**](http://basicallydan.github.io/skifree.js) on a mobile device and then use your finger to direct the skier around the piste. Also try double-tap ;)
* Rainbow jump platforms & jumping - though a couple of improvements could be made
* LocalStorage high-score (thanks, [@ddoolin](https://github.com/ddoolin)!)
* Custom-sized Hitboxes
* Big trees & crashing into them both whilst skiing and jumping## So, what's left to do?
This is what I'm gonna do, probably in this order. Who the hell knows. There are other features to the original game but I'm not going to add them to the list until I've gotten through this one.
* Rocks
* Snowboarders
* Dogs
* Ski LiftsSome features which weren't in the original which I'd like to give a go:
* Being a snowboarder instead of a boring old skier
* Tricks, or something?
* Multiplayer (ooooo wouldn't that be fun?!)## F*ck this, let me play the game goddammit
* Open up index.html in Chrome, or maybe even Firefox - I haven't tested it in anything but Chrome and Mobile Safari yet, 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.
* We are #seekingcontributors
* Make a pull request with your awesome additions.
* Maybe raise an issue?If you'd like an easy way to see how the game works, you can play the original in an Emulator: https://archive.org/details/win3_WINSKI
## Contributors
Here's some lovely people who were kind enough to have opinions and spirit enough to make a pull request.
* [@tomgrim1](https://github.com/tomgrim1)
* [@ddoolin](https://github.com/ddoolin)
* [@andersevenrud](https://github.com/andersevenrud)
* [@dsingleton86](https://github.com/dsingleton86)
* [@mcmahoniel](https://github.com/mcmahoniel)
* [@collinanderson](https://github.com/collinanderson)Thanks!
## Third-party credits
* [HTML5 Boilerplate](http://html5boilerplate.com) provided a bunch of useful markup and stuff
* [Wing Wang Wao](http://spriters-resource.com/submitter/Wing%20Wang%20Wao) of the [Spriters Resource Forum](http://spriters-resource.com) did an amazing job of providing the sprites which I have extended slightly. Thanks!
* Thank you [Chris Pirih](http://ski.ihoc.net/) for making the original.## License
See [license.md](blob/master/license.md)