• Stars
    star
    507
  • Rank 86,489 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎿 The classic PC Game SkiFree, but in JS.

Skifree.js

This is a work in progress JavaScript port of the popular 1991 PC game SkiFree by Chris Pirih.

Play this right now if you want to (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 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!)
  • 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 Lifts

Some 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.

Thanks!

Third-party credits

License

See license.md

More Repositories

1

interfake

πŸ’» Fake APIs for prototypes & automated tests.
JavaScript
805
star
2

forkability

🍴 A linter for your repository.
JavaScript
103
star
3

q-examples

πŸŽ“ Examples of how to use kriskowal's "Q".
JavaScript
21
star
4

eventedloop

➰ Evented loops for timed events & games.
JavaScript
20
star
5

dothething

Do The Thing is an easy-to-configure server for handling webhooks.
Python
7
star
6

bomberman-mmo

πŸ’£ Incomplete online Bomberman clone.
JavaScript
4
star
7

giveafork

A little app to help you find open-source projects to contribute to
4
star
8

gpterm

A natural-language interface for your 🐚 shell, powered by GPT πŸ€–
Ruby
4
star
9

nodejs-for-front-end-workshop

Learn NodeJS as a Front-end developer.
CSS
3
star
10

danhough.com

My personal blog, written for generation by Jekyll
HTML
3
star
11

Onda

πŸ“° Online News Diversity Analyser in Python
Python
3
star
12

BlankCanvas

A simple, no-bloat, no-framework, unopinionated boilerplate for creating a 2D Canvas Game from scratch
CSS
3
star
13

phonegap-not-so-bad-talk

The slide deck for a talk which I delivered at Mobilise London June 2014
2
star
14

elevator-lift

This is an elevator/lift simulator built in JavaScript. Maybe one day it will form part of a SimTower port?
JavaScript
2
star
15

Scroutenise

A simple Javascript library built on top of the Google Maps V3 + Places API to find places along a route
JavaScript
2
star
16

node-maintainer-talk

A talk titled "I'm a Node Module Maintainer (And So Can You!)"
HTML
2
star
17

gogive

A Battlehack London project. GoGive is a directory of high-street charitable organisations looking for donations.
JavaScript
2
star
18

mojirecall

How many Emoji can you recall from memory?
JavaScript
1
star
19

todos-phonegap

A crappy todo app for PhoneGap
Java
1
star
20

picnic

Collaborative project with Incubus London (https://incubuslondon.com). Name pending.
JavaScript
1
star
21

wen

Triggers events based on the truthiness of predicate methods
JavaScript
1
star
22

geo-path-compare

A small library for comparing two paths of latitude/longitude points
JavaScript
1
star
23

ruby-site-mapper

A script which takes a page and then goes through all the pages it can find on the domain of that page.
Ruby
1
star
24

simplemd.js

A really simple, unfinished markdown parser I wrote for a job interview once. Supports Headers, Paragraphs and Links.
JavaScript
1
star
25

jerk-for-git

In Britain, 'git' means something insulting, which always makes explaining the technology to people for the first time a tedious experience.
Batchfile
1
star