euophrys / riichi-trainer Goto Github PK
View Code? Open in Web Editor NEWA Riichi Mahjong trainer.
Home Page: https://euophrys.itch.io/mahjong-efficiency-trainer
License: GNU General Public License v3.0
A Riichi Mahjong trainer.
Home Page: https://euophrys.itch.io/mahjong-efficiency-trainer
License: GNU General Public License v3.0
Currently you can only see it while discarding or not at all. It would be nice to be able to chose tiles without being influenced by knowledge of what the best move was, but still be able to see the optimal moves later.
It would be nice if you could claim a kan. Now, the only way to go on is to discard one of the tiles in the kan.
Hey there, I was trying to find out how to download majsoul game logs and found your comment here. However I tried this method on your replay analyzer and the link generated won't connect at all. Is there a new way to fetch the logs?
Also, I see that you're basically just using javascript and regular expressions to interpret the logs in a brute force way. I think it would be easier to compile the protobuf using javascript bindings and read it that way.
My ultimate goal is to cobble together code from various places and create a PR for Equim-chan/akochan-reviewer so that it can review Majsoul logs as well as Tenhou ones. I'll be using the protobuf approach once I figure out a way to download the game log reliably.
thanks!
Thanks for developing this, it is a very nice tool to practice tile efficiency!
It would be nice if the final hand is indicated to be furiten yes/no.
See: https://help.github.com/en/articles/setting-guidelines-for-repository-contributors
It would be good to add what your expectations are with regards to contributions. Do you expect mostly translation work or are you also open to some code contributions? Or whether you want a new issue created for each PR or not. A lot of the stuff currently in README.md could also be moved there, and maybe link the trello board.
I like the efficiency trainer, it is very helpful ๐
Discard: three of circles (4 tiles). That was the best choice! Your hand is now ready. Congratulations! Your efficiency was 297/298, or 99%.
99.6% gets rounded down to 99% and 98.8% gets rounded down to 98%. I suggest to keep the first decimal place for more accuracy.
Here is the tenhou replay
https://tenhou.net/0/?log=2020111100gm-0089-0000-d3c1f89e&tw=1
When I paste the link into the text box and try to right click > save link as.. it said "failed. No file"
I using chrome to run this, What did I do wrong?
Take the hand 123m12399p57s1122z
.
The site says discarding 9p, 1z, 2z are equal with shanten 1, ukeire 8. and that "tiles that increase ukeire" is 0.
But after any of those discards drawing a 4s and discarding 7s increase ukeire because you can now advance the hand by drawing 3s and 6s instead of just 6s. Indeed if load 123m1239p457s1122z it does tell me that ukeire is now 12.
โฏ bun run build
$ react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
~~~
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
here is avoidance. This project seems to have stopped, so I will develop it on my own fork!
export NODE_OPTIONS=--openssl-legacy-provider
bun run build
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.