Viewing a response to: @programarivm/a-training-tool-for-chess-players-based-on-memory-recall
Thank you for your contribution. I really liked the way you have written everything in the pull requests. As basically it is a CLI tool, is there any way that frontend can call it and get the representation to be shown to the user? Also, there are a lot of .pgn files are removed from the GitHub. It's better to write those files in the .gitignore. Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2322222). ---- Need help? Write a ticket on https://support.utopian.io/. Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | codingdefined |
---|---|
permlink | re-programarivm-a-training-tool-for-chess-players-based-on-memory-recall-20180825t082151213z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2322222","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2018-08-25 08:21:51 |
last_update | 2018-08-25 08:21:51 |
depth | 1 |
children | 2 |
last_payout | 2018-09-01 08:21:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.232 HBD |
curator_payout_value | 1.361 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 841 |
author_reputation | 529,663,786,803,491 |
root_title | "A Training Tool for Chess Players Based on Memory Recall" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,302,334 |
net_rshares | 3,839,964,820,901 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yuxi | 0 | 8,812,094,495 | 30% | ||
espoem | 0 | 18,468,751,317 | 15% | ||
utopian-io | 0 | 3,783,623,754,095 | 5.47% | ||
amosbastian | 0 | 14,764,160,833 | 19.99% | ||
josephace135 | 0 | 13,956,331,985 | 100% | ||
mops2e | 0 | 339,728,176 | 10% |
Hi @codingdefined, thanks again for the review! Happy to know this post is a bit better than the previous ones. Good point on the `.pgn` files. I am not convinced that they should be written in the `.gitignore` file though because this data is required by the tests in order to pass OK as shown in https://travis-ci.org/programarivm/pgn-chess/jobs/420206833. However, the `.pgn` files, which are all included in the `tests` folder, are ignored in the `.gitattributes` file: ``` /examples/ export-ignore /resources/ export-ignore /tests/ export-ignore .editorconfig export-ignore .gitattributes export-ignore .gitignore export-ignore .travis.yml export-ignore ``` This way the `tests` folder is not installed locally when doing ``` composer require programarivm/pgn-chess ``` Let me show you something regarding the frontend. I wrote [this prototype](https://github.com/programarivm/react-pgn-chess) with [React](https://reactjs.org/) and [ReactPHP](https://reactphp.org/) -- the frontend prototype is still sketchy, needs some improvement. Anyway, here is how the React frontend uses the ReactPHP chess server: ``` import React from 'react'; import ReactDOM from 'react-dom'; import Board from './components/Board.js'; import './index.css'; var BoardElement = React.createElement(Board, {server: "localhost:3001"}); ReactDOM.render( BoardElement, document.getElementById('chess-board') ); ``` The server looks like this: ``` namespace ReactPgnChess; use Ratchet\Server\IoServer; use Ratchet\Http\HttpServer; use Ratchet\WebSocket\WsServer; use ReactPgnChess\PgnChessGame; require __DIR__ . '/../vendor/autoload.php'; $server = IoServer::factory( new HttpServer( new WsServer( new PgnChessGame() ) ), 3001 ); $server->run(); ```
author | programarivm |
---|---|
permlink | re-codingdefined-re-programarivm-a-training-tool-for-chess-players-based-on-memory-recall-20180825t091333864z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["codingdefined"],"links":["https://travis-ci.org/programarivm/pgn-chess/jobs/420206833","https://github.com/programarivm/react-pgn-chess","https://reactjs.org/","https://reactphp.org/"],"app":"steemit/0.1"} |
created | 2018-08-25 09:13:33 |
last_update | 2018-08-25 11:26:54 |
depth | 2 |
children | 0 |
last_payout | 2018-09-01 09:13:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,813 |
author_reputation | 2,631,258,794,707 |
root_title | "A Training Tool for Chess Players Based on Memory Recall" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,305,423 |
net_rshares | 0 |
Thank you for your review, @codingdefined! So far this week you've reviewed 3 contributions. Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-programarivm-a-training-tool-for-chess-players-based-on-memory-recall-20180825t082151213z-20180825t102509z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.42"}" |
created | 2018-08-25 10:25:09 |
last_update | 2018-08-25 10:25:09 |
depth | 2 |
children | 0 |
last_payout | 2018-09-01 10:25:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 116 |
author_reputation | 152,955,367,999,756 |
root_title | "A Training Tool for Chess Players Based on Memory Recall" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,309,893 |
net_rshares | 0 |