Some sort of mahjong client. Hand evaluation, board representation, client itself. Hand evaluation works pretty well. The representation has not been put together but has a lot of parts. The client itself has no progress yet.
competitive-mahjong's Introduction
competitive-mahjong's People
competitive-mahjong's Issues
Score - Triples/Quads (draft)
Class design for han evaluation
Fixes - pair function
Different possibilites differentation
Pointing out the possible combinations with colored lines between them. 2345 would have one color for 234 and one color for 345 if 4 or 3 was clicked. If the tile is 2 or 5 it should only show one combination. The amount of possible combinations and actual combinations can be listed as a number below the tiles.
Score - Sequence hands (draft)
Evaluation - Gamerules
Gamerules
No char images
Bamboo tiles are being used instead of character ones. This might get fixed when redoing the other classes.
Score - Conditions (draft)
Han Maps
Score - Yakuman (draft)
New - Gameloop
Evaluation - tests- han value tests
Fixes - Overlapping sequences and sets
Nine gates test
Nine gates hand detection does not work
Tests for Visual module
Need to follow a tutorial for javafx testing.
Parts that do not need this can still be done.
Redesign
The way HandEvaluator, HandIdentifier and the Valuation classes are put together is really messy. I like HandIdentifier but HandEvaluator is just a collection of random helper functions.
Draw evaluation (gamehistory should be done first)
Score - Draw conditions (draft)
Tests for representation module
Classes:
TileSet
Pair
SequenceGroup
SetGroup
No tests yet.
Read in example hands from file for testing
Evaluation - RonChecker
Gamehistory design
Fu valuation draft
New - Visual tests
Tests for representation
Game
Gameboard
Hand
Player
Pond
Ruleset
TileSet
Wall
New - Database decisions
Find duplicate tile bug
Redesign han evaluation
Should be moved to different classes, the han evaluation class should have finding the han value as its responsibility, maybe through a han map from hand to han/points. All the hand filtering functions should be in another class.
Better classes etc
Patterns, inheritance, other stuff that looks better than the current class setup
New - Gamehistory
Evaluation - Ron Proximity Checker
Tests for Evaluation
Doublechecking the already done classes.
Add tests for:
ValuationFu
The other classes are too unfinished for now.
Score - Suits (draft)
Project setup / framework / other
Many improvements possible.
Group/sets design
Find all valid sequences
Tests for evaluation
tentative, not ready
ReadyChecker
Tests for representation-tiles
ColorTile
PinTile
Position
SouTile
Suit
Tile
WanTile
WindTile
Gamehistory draft
Ron checker theorizing
Remaining tests
Visual/GUI/Client
Anything to start really, nothing here yet. Anything/Everything in the visualization module can be scrapped.
Match sequences with valid sequences
Set highlighting
When clicking a tile that has a three of a kind combination, they should be highlighted(lifted). Should handle KANs as well.
Score - Opening hands (draft)
Tests for scoring functions
Han valuation draft
Fixes - Gameboard
Score - Terminals/Honor tiles (draft)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.