Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ffalt/mah
a html5 mahjong solitaire game
https://github.com/ffalt/mah
angular game html5 mahjong pwa svg
Last synced: 3 days ago
JSON representation
a html5 mahjong solitaire game
- Host: GitHub
- URL: https://github.com/ffalt/mah
- Owner: ffalt
- License: mit
- Created: 2017-11-04T16:58:10.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T11:49:44.000Z (14 days ago)
- Last Synced: 2024-10-31T12:29:17.081Z (14 days ago)
- Topics: angular, game, html5, mahjong, pwa, svg
- Language: TypeScript
- Homepage: https://ffalt.github.io/mah/
- Size: 47.6 MB
- Stars: 51
- Watchers: 4
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Mah
A Mahjong Solitaire Game
The original open source version of many Mahjong games out there. Completely free, no ads, no tracking.
Play it [here](https://ffalt.github.io/mah/)
build with html5, svg, angular
[![license](https://img.shields.io/github/license/ffalt/mah.svg)](http://opensource.org/licenses/MIT)
![test](https://github.com/ffalt/mah/workflows/test/badge.svg)
[![developer](https://img.shields.io/badge/developer-awesome-brightgreen.svg)](https://github.com/ffalt/mah)
[![known vulnerabilities](https://snyk.io/test/github/ffalt/mah/badge.svg)](https://snyk.io/test/github/ffalt/mah)
[![codebeat badge](https://codebeat.co/badges/021d3bc7-e512-473b-b99e-80e7650ba57f)](https://codebeat.co/projects/github-com-ffalt-mah-main)## Features:
* 56 boards to play
* 12 different tile/piece image sets; light & dark
* 8 game backgrounds, themes; light & dark
* 3 difficulties
* Automatic save & restore of game state
* English, Deutsch, Nederlands, Português, русский, Español, Euskara
Want to help translate Mah? Please use https://crowdin.com/project/mahjong
## Build Config
The default game name is "Mah Jong", to change it
* copy file `custom-build-config.json.dist` to `custom-build-config.json`
* edit the name in `custom-build-config.json` to your desired app name## Development server
Run `npm run start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Build
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory. Use `npm run build:prod` for a production build.
## Running tests
Run `npm run test` to execute the unit tests via [Jest](https://jestjs.io/).