1. banner.png

    A classic remake of Linux Lopan (a Mahjong solitaire clone) by Dave Ashley

    Like other Mahjongg games, you try to remove all the pieces. To remove pieces you must select a pair of pieces with the same drawing.

    I made this port to test the touch screen support and the full screen zoom in my libSDL. It's nothing special, but since it's finished I release it.

    The source code of my port is on github (https://github.com/Nop90-Switch/SDLLopan-SWITCH).
    The compiled game is released on github (https://github.com/Nop90-Switch/SDLLopan-SWITCH/releases).

    Changelog

    Ver. 1.0 (03 March 2018)
    - First reelase

    Installation

    Extract the content of the zip in the root of the SD card.

    You can run the game on RyujiNX too: extract the content of the zip in the %%appdata%%\RyuFs\sdmc folder and drag the nro file on Ryujinx.exe.

    Note: on windows the %%appdata%% folder is \Users\[username]\AppData\Roaming


    Commands


    - Touch: select / unselect tiles
    - Left: undo moves
    - Right: redo moves
    - L: change tileset (two available)
    - R: change background
    - X: exit
    - A: reshuffle tiles and start a new game


    Screenshots
    SDLLopan.png
     
    ELY_M, Galaxysm, Don Jon and 15 others like this.
  2. Discussion (11 replies)

  3. Heran Bago

    Heran Bago Where do puyo come from?
    Member

    Joined:
    Nov 6, 2005
    Messages:
    3,081
    Country:
    United States
    Cool! Always good to see more homebrew.

    Small correction on the game's name. This is Taipei, or Mahjong Solitaire.

    [​IMG]


    This is Mahjong:

    [​IMG]


    Traditional Chinese Mahjong and Japanese Riichi are very fun games similar to poker.
     
  4. Cyan

    Cyan GBATemp's lurking knight
    Global Moderator

    Joined:
    Oct 27, 2002
    Messages:
    22,532
    Country:
    France
    thank you for making this game, the switch scene is going nice :)
    too bad I don't have a homebrew capable switch to try.

    Though, I join Heran Bago here, I know the name is largely misuse, but I hoped it would be a "real" mahjong game. these are very rare :(
    they often exist only in japanese, and it would be nice to see one in english one day.

    Not criticizing your work on homebrew, I just hoped someone made a real mahjong :P
     
    Jacklack3, Masterwin and peteruk like this.
  5. nop90

    OP nop90 GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 11, 2014
    Messages:
    1,556
    Country:
    Italy
    If you find a real mahjong game open sourced (eventi noto SDL or c based) i can try a port.

    About not having a real switch, RyujiNX works fine forma homebrew.

    I'm using it too.

    Note: Current ryujinx built has a touch screen bug but there is alrrady a fix under test, so soon will be solved

    — Posts automatically merged - Please don't double post! —

    @Cyan if you can, please change the post title in Mahjong solitaire.

    Already changed it in the OP.
     
    Last edited: Mar 3, 2018
    ELY_M and Cyan like this.
  6. Cyan

    Cyan GBATemp's lurking knight
    Global Moderator

    Joined:
    Oct 27, 2002
    Messages:
    22,532
    Country:
    France
    I changed the title.

    I tried to find mahjong sources, but didn't find anything in C.
    I found in C#, python/Js (2 players only), in Vala, and in Java, and java (android).
    the 4 players version is not as popular as Solitaire!
     
    Last edited: Mar 3, 2018
  7. nop90

    OP nop90 GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 11, 2014
    Messages:
    1,556
    Country:
    Italy
    I'll try to port one of this with net play. It would be great to port on both switch and 3ds. But this seems to be a long tearm goal. Let's she what I can do.
     
  8. Heran Bago

    Heran Bago Where do puyo come from?
    Member

    Joined:
    Nov 6, 2005
    Messages:
    3,081
    Country:
    United States
    A google search for "open source riichi mahjong" brings up a lot, but none of the immediate results are in C. I can't vouch for any of them either.
     
  9. pwsincd

    pwsincd Garage Flower
    Developer

    Joined:
    Dec 4, 2011
    Messages:
    3,609
    Masterwin likes this.
  10. Kojote

    Kojote Member
    Newcomer

    Joined:
    Sep 27, 2015
    Messages:
    22
    Country:
    Australia
    Thanks for this port :yayswitch:
     
  11. ShadowOne333

    ShadowOne333 GBAtemp Guru
    Member

    Joined:
    Jan 17, 2013
    Messages:
    9,570
    Country:
    Mexico
    Oh boy!
    Another good homebrew using SDL!
    Awesome!!!

    Now that SDL on Switch is gaining attention, I would love it for someone to port Wolf4SDL to the Switch.
    :D
     
    lordelan and Masterwin like this.
  12. Masterwin

    Masterwin GBAtemp Fan
    Member

    Joined:
    Jan 7, 2016
    Messages:
    382
    Country:
    Spain
    Is there any indication when there are no more possible movements?
     
  13. iZenCoderJ9

    iZenCoderJ9 Member
    Newcomer

    Joined:
    May 27, 2018
    Messages:
    12
    Country:
    Spain
    Can you make it compatible to 5.0.2? Thanks!
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [RELEASE], Solitaire, SDLLopan