Giter Site home page Giter Site logo

harbourguide's Introduction

Harbour Guide

A web based mobile puzzle game written in JavaScript. The aim of the game is simple. Boats come in from the bottom with a colour and a number of crates on their back. Your goal is to navigate these boats around the obstacles in the harbour to get your boats to go out the correct gates.

To move your boats, you simply tap on them with your phones touch screen and swipe in the direction you want them to go (Up/Left/Right/Down). To move an obstacle, you swipe the obstacle left/right or up/down (depending on whether the obstacle is facing horizontally or vertically).

Getting the boat to go through the correct gate gives you points. Getting them through the wrong gate loses points. Points are also lost passively as the game goes on, pushing the user to make faster decisions.

The game is fully dynamic, scaling the puzzles difficulty to match how the player performed in the preceeding puzzles. It uses an elo system we refer to as "Difficulty". Performing well raises your difficulty, performing poorly lowers it. The entire game is auto-generated around this stat.

Features of the game include:

  • Fully dynamic level/puzzle generation.
  • Elo system
  • Online highscore board
  • Achievement System

Tools Used

The game is written with JavaScript as the primary language. The server application is written in C#.

Within JavaScript:

  • Cocos2D-JS is the JavaScript game library used to help with the UI, screen transitions and touch commands.
  • Jquery is the JavaScript library used for communicating with the server application.

How To Play

Redirect your phones browser to http://harbourguide.royalwebhosting.net/.

A few important notes:

  • Until we get proper hosting, that site will do. For whatever reason, the hosting site blocks sound files from being loaded.
  • The hosting is slow, so it takes a while to load.
  • Until we get proper hosting, the server application is temporarily disabled. You can still fully play, however you cannot submit your high scores.

These issues will all be addressed in the near future.

How To Compile/Run Locally

Download and setup Cocos2D-js: http://cocos2d-x.org/filecenter/jsbuilder/

Setup apache (or some type of XAMP stack) to host the game locally.

Move the game files over to the apache folder.

Run index.html

Collaboration

This project was written in collaboration with:

Jaegar Sarauer (https://github.com/JaegarSarauer)

Arthur Pankiewicz (https://github.com/arthurpankiewicz)

Eric Lui (https://github.com/TheFerty7)

Eric Lee (https://github.com/EricLeeSetA)

harbourguide's People

Contributors

carsonroscoe avatar jaegarsarauer avatar arthurpankiewicz avatar theferty7 avatar ericleeseta avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.