Giter Site home page Giter Site logo

a-maze's Introduction

Accessibility Maze

Copyright (C) 2021 The Chang School, Ryerson University

This game is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 as published by the Free Software Foundation.

This game is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. For more details see GNU General Public License v3.0.

Dependencies

This game is using the following libraries:

  • AngularJS
  • SoundJS
  • PreloadJS
  • jQuery
  • Underscore.js

Deployment

  1. Fork the repository.
  2. Upload files to your server.
  3. Update <base> tag in the index.html to point to the new location.

Game Data

The game is driven by the data stored in _/amaze_data.json file. There are three main sections in that file:

  • intro - array of images and reference to variables that hold text for the intro sequence
  • levels - array of levels:
    • floorplan - array of map rows and columns (9 rows 12 tiles each)
    • description - reference to a variable that holds short level description for screenreader users
    • items - array with additional data for interactive and collectible items included with the map
    • inventory - empty array to store collected items
    • lesson - reference to a variable that holds localised HTML displayed at the end of the level
  • outro - array of images and reference to variables that hold text for the end-of-game sequence

Localisation

This game was designed to support multiple languages. English, Dutch and French are already included by default. To add support for another language you need to:

  • make a copy of one of the localisation files in _/l10n folder
  • rename the file by replacing the old language code with the ISO 639-1 code for the language you are adding (for example, locale_ru.json for Russian, locale_es.json for Spanish, etc.)
  • translate all string values inside the file to the new language
  • add the new language option to the dropdown in the _/tpl/languages.tpl.html template file.

a-maze's People

Contributors

geometricpanda avatar

Watchers

 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.