Giter Club home page Giter Club logo

mahjong-ce's Introduction

Mahjong Solitaire

Requires the latest CE C libraries

To install, you will need TI-Connect CE or TILP.
Transfer the C libraries, MAHJONG.8xp, and KYODAI.8xv

On OS 5.5, you will need to use arTIfiCE to run native programs.

Questions? Ask on Cemetech

Running the Kyodai script (not necessary):

You'll need ti83f and python 3.
From the command line, run:

python3 kyodai.py NAME file1.lay file2.lay file3.lay ...

which will produce an appvar called NAME.8xv containing all layouts with the correct number of tiles.

Building from Source:

Building from source is not necessary to run Mahjong - a pre-built copy (MAHJONG.8xp) is included.
You should only build from source if you want to modify the source code of the game.
You will need the CE C toolchain.
From the command line, cd to the directory containing src and run

make gfx
make

The output program can be found at bin/MAHJONG.8xp.

CREDITS:

Thanks to MateoC for creating the C toolchain and putting up with my stupidity.
Tileset inspired by GNOME Mahjongg
Kyodai layouts from http://cynagames.com/kyoextra.html
Kyodai layout loading script based off of xmahjongg's

Source: https://github.com/commandblockguy/mahjong-ce

mahjong-ce's People

Contributors

commandblockguy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

mahjong-ce's Issues

Game lost at start?

Apparently it's possible that upon starting a new game, the initial random combination isn't solvable, and the game says that we've lost :P
Could you check if a move has been made prior to display the message, and if not, re-start/shuffle/initialize the board until a solvable one has been found? (or at least where it's not initially lost)

(initially found by @critor)

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.