tellmarch / playshogi Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://playshogi.com/
License: GNU Affero General Public License v3.0
Home Page: http://playshogi.com/
License: GNU Affero General Public License v3.0
The user should be able to choose between traditional pieces or Hidetchi international pieces
Is your feature request related to a problem? Please describe.
Foreign players may appreciate a mode which cautions players when they are about to hang a piece. Thanks to @JohnChernoff for the suggestion which is similar to a feature in Kasparov's Gambit and the ChessMaster series:
https://clips.twitch.tv/LightBlightedWatermelonPeteZarollTie
Describe the solution you'd like
If there is a game play/practice zone, that zone should caution a player who is about to make a large blunder, and reveal the opponent's threat(s).
https://clips.twitch.tv/LightBlightedWatermelonPeteZarollTie
Describe alternatives you've considered
Always highlight squares the opponent is attacking.
Audibly announce check, threatmate, attacks on the rook or bishop, etc.
Additional context
Maybe also caution against illegal pawn drops or other illegal moves which beginners struggle with.
There are a couple oddities that are produced from a lack of user validation when registering a new user.
As you can see in the above screenshot, there is an entry for both "Koshiro" and "koshiro" in the high scores table. I can imagine this would generate issues ranging from accidental account creation to zany antics involving user impersonation.
Perhaps a solution similar to what which does would be a viable alternative? The username itself must be all lowercase but the display name in the URL can have arbitrary capitalization.
Note that there is also a user called "@shogi.brasil" in the screenshot. Perhaps it will never be an issue, but oftentimes allowing special symbols in the username will cause unexpected behavior when attempting to parse the stream. The problem can be sidestepped by restricting the number of valid characters to create a username.
Is your feature request related to a problem? Please describe.
When reading through the github issues, it's clear that the Issues are a bit disorganized. This repository will clearly benefit from labeling issues for easier filtering. The problem will get worse as more people provide feedback. Starting a process of labeling issues now before feedback gets overwhelming is a big quality of life improvement!
Describe the solution you'd like
Most major projects have a system for labeling their issues for easier organization. Some examples I've seen in other projects: Bug, Duplicate, Feature Request, Invalid (not a bug), Enhancement, Question, wontfix, help wanted, and "good first issue" (issue that is useful for onboarding new contributors).
If all the devs are too busy to go through and apply labels, I might suggest assigning someone trusted (applying labels apparently requires write access to the repository) as a "collaborator" for the repository.
Limit length, etc.
Is your feature request related to a problem? Please describe.
I am bad at dobutsu.
Describe the solution you'd like
Include dobutsu problems.
Describe alternatives you've considered
Include dobutsu teaching materials of any form, if any exist?
Additional context
The animal pieces are cute!
Is your feature request related to a problem? Please describe.
When playing an incorrect move, the website doesn't explain why it is wrong.
Describe the solution you'd like
Add a "why?" button when the answer is wrong, showing the refutation (as computed by the engine). Let the user play both sides of the board until they click back or next.
Is your feature request related to a problem? Please describe.
Although I can manually zoom in on a page, the graphics do not scale perfectly.
Describe the solution you'd like
Allow for high-resolution large graphics
Describe alternatives you've considered
Convert existing graphics into SVG?
Additional context
Most monitors these days support a variety of high resolutions.
For example, at the end of the tsume you can still move your piece (plus it is your opponent move, so why would you be able to move anyway) - also making it wrong at the end
Players would like to see some indicator about how difficult a puzzle is.
Use something like https://gist.github.com/niklasf/73c9565719d124af64ff (included with python-chess) and engine(s) with various settings to derive difficulty scores.
Currently they are only kept in memory, so they don't survive a server restart.
Problem like this has a multiple answers at the end (rook drop from far awa) http://playshogi.com/#Tsume:715
Is your feature request related to a problem? Please describe.
A useful training exercise is Guess The Move, whereby a player follows a game between stronger players and attempts to guess the next move.
Describe the solution you'd like
Add such a training exercise, possibly with user-generated content.
Describe alternatives you've considered
Maybe link to games from Wikipedia, 81Dojo, etc. and trust the players to do the exercise on their own.
Additional context
Guess The Move has been a feature on FICS, ICC, and US Chess Live, operating as a bot which many players could spectate (either from a script/database of games, or on live games). It has also been in print for decades in book and magazine form (e.g. Evans' book What's the Best Move? or a similar Chess Life column, which offers partial credit for incorrect answers).
5+ pawns display badly
It gives random number of moves for the next problem.
As the "correct answer" you end up with knight in hand
A piece drop that doesn't change the fact that there is a checkmate
correct answers that are mistaken for wrong :'(
Is your feature request related to a problem? Please describe.
Sometimes when there is a particularly interesting problem, I'll want to share my amazement with the world! Being able to make comments on a problem, just like how ChessTempo does, would educate a lot of people on interesting alternative variations, similar types of problems, or even the answers to the most elusive question of all "Why does this random pawn/piece have to be all the way down the board for the tsume to work?!"
Describe the solution you'd like
Only having the ability to comment and a way to "upvote" high quality comments would be a gigantic improvement. If the comments also support an embedded syntax to play/display variations, that would be even better. If you don't want to develop your own comment system, perhaps it would be easy to integrate an off-the-shelf solution such as Disqus.
Describe alternatives you've considered
The best alternative I can think of would be to include a thumbs up / thumbs down rating system. This will help determine if a problem is of low quality and should be removed from the database. The advantage of this system is that it would not require any moderation, arbitrary user input, or very much additional data storage. You could just have a couple of additional fields in the database for number of upvotes/downvotes.
Courtesy of Alexei, these problems all have issues according to him.
Cooks found so far (problems 1-400 all systematically reviewed by Alexei):
EVERE: Error looking up the user in db
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 675,921,841 milliseconds ago. The last packet sent successfully to the server was 675,921,842 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
I think it would be great to have the ability to solve problems in numerical order instead of being forced to solve them randomly. It would enable users to use the tool as a drilling tool.
Is your feature request related to a problem? Please describe.
Players sometimes have difficulty reading and evaluating breakthroughs to promote one or more pieces.
Describe the solution you'd like
Allow for "promotion" puzzles (user-submitted or otherwise).
Describe alternatives you've considered
Have some sort of training materials about common breakthroughs.
Additional context
This "promotion" exercise is similar to one from Maurice Ashley Teaches Chess (1995) where the object was to break through the opponent's pawns to promote a pawn.
title says it all
Is your feature request related to a problem? Please describe.
Builds could be faster. Also, when developing new features (such as kifu import) if feasible do not use deprecated technology.
Describe the solution you'd like
Upgrade GWT and Elemental2 to current versions, then re-evaluate.
https://stackoverflow.com/a/52083441
Describe alternatives you've considered
Additional context
https://gist.github.com/branflake2267/d424e4a0c0b371e3dd9d15bfd3514429 is an example file reader.
The final text of going through hellish tsumeshogi challenge is "warmly" welcoming you with RED SHOUT. Good job.
It might confuse new players, if gote has no pieces in hand.
Is your feature request related to a problem? Please describe.
Players enjoy having a sense of achievement.
Describe the solution you'd like
Allow players somehow to purchase signed certificates of achievement.
Describe alternatives you've considered
Have some online way of indicating achievement like https://projecteuler.net/ does.
Additional context
Do your best! It's good to inspire players somehow.
new mode, byo yomi per move
There is some interest in Spanish, French, translations.
Would need to extract all the message strings and use Messages interfaces
It is confusing that text wrong/correct starts for the next problem, especially after you play the next move in new problem.
Describe the bug
If you click on a piece that can promote and then click on any other square, promotion window will pop out.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The piece becomes unselected
It is not working :(
Need to add legal move condition for it.
Currently, if you play a different, longer Tsume it only shows "This is Tsume!" - instead, it should explain that it is incorrect because it is longer.
Is your feature request related to a problem? Please describe.
I want to be able to access the position of the initial checkmate problem as a SFEN (or KIF) file to make it easier to do things like modifying tsumeshogi problems or for easier input into Anki using the Shogi plugin. The whole solution available as a KIF export would also be cool, but a simple SFEN would still be a huge quality of life improvement.
Describe the solution you'd like
An extra button available somewhere in the TsumeView that allows you to view the SFEN and/or copy it to the clipboard. The Shogi Playground (Mog Project) website has a good example of a SFEN export in their "Share" options.
Example screenshot of Shogi Playground's version:
https://user-images.githubusercontent.com/600562/89496541-6390d800-d76f-11ea-847f-68864e10c57d.PNG
Pieces in hand order should be from the strongest to weakest. (like on 81dojo)
Not using the Iroha system.
Describe the bug
To clear piece selection I need to click an invalid move.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Piece is no longer selected.
Desktop (please complete the following information):
Sometimes, when you search for tsume in 3 moves you get more difficult ones
Is your feature request related to a problem? Please describe.
I am studying opening ideas throug IA and so I try out several IAs on a specific opening.
Basically 1 series of games played by an IA becomes 1 Game collection.
Since I have several I would like to merge several collections into 1.
Describe the solution you'd like
When building a new collection have an option to include games from other game collections.
( This way you don't need to duplicate the games)
Describe alternatives you've considered
If I want to do it manually i will have to duplicate the games I already entered into a bigger collection, it's a waste of time and a waste of storage ressource.
Additional context
This feature could be used if you want to split&merge games played by amateurs/pro/IAs.
The ctrl is not available for mobiles, for example. So it would be better to have something more accessible.
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.