From cb4959fff939fce2635d2b867eb8e897981176e2 Mon Sep 17 00:00:00 2001 From: Songyi Huang Date: Sat, 5 Jun 2021 14:51:56 -0700 Subject: [PATCH] update cite text --- src/assets/index.scss | 2 +- src/view/PvEView/PvEDoudizhuDemoView.js | 66 ++++++++++++++++--------- 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/src/assets/index.scss b/src/assets/index.scss index 58ec769..c879fb5 100644 --- a/src/assets/index.scss +++ b/src/assets/index.scss @@ -27,7 +27,7 @@ code { .citation { font-family: 'Rockwell', monospace, PingFangSC-Regular, sans-serif; - margin-top: 20px; + margin-top: 15px; padding: 6px; -webkit-user-select: text; diff --git a/src/view/PvEView/PvEDoudizhuDemoView.js b/src/view/PvEView/PvEDoudizhuDemoView.js index f029763..8f2da1a 100644 --- a/src/view/PvEView/PvEDoudizhuDemoView.js +++ b/src/view/PvEView/PvEDoudizhuDemoView.js @@ -1102,36 +1102,54 @@ function PvEDoudizhuDemoView() {
- {/* {locale === 'en' ? ( + {locale === 'en' ? ( <> - This demo is based on{' '} - - RLCard - {' '} - and{' '} - - DouZero - - . If you find these projects useful, please cite: +

+ Too slow? Run the demo locally and check out more analysis tools (e.g., replays) with{' '} + + RLCard-Showdown + + ! +

+

+ This demo is based on{' '} + + RLCard + {' '} + and{' '} + + DouZero + + . If you find these projects useful, please cite: +

) : ( <> - 本演示基于{' '} - - RLCard - {' '} - 和{' '} - - DouZero - {' '} - 项目。如果这些项目帮到您,请添加引用: +

+ 运行太慢?使用{' '} + + RLCard-Showdown + {' '} + 在本地运行该演示以及更多分析工具(如录像回放)! +

+

+ 本演示基于{' '} + + RLCard + {' '} + 和{' '} + + DouZero + {' '} + 项目。如果这些项目帮到您,请添加引用: +

- )} */} - Zha, Daochen, Kwei-Herng Lai, Songyi Huang, Yuanpu Cao, Keerthana Reddy, Juan Vargas, Alex Nguyen, - Ruzhe Wei, Junyu Guo, and Xia Hu. "RLCard: A Platform for Reinforcement Learning in Card Games." In - IJCAI. 2020. + )}
-                        {`@article{zha2019rlcard,
+                        {`Zha, Daochen, Kwei-Herng Lai, Songyi Huang, Yuanpu Cao, Keerthana Reddy, Juan Vargas, Alex Nguyen, Ruzhe Wei, Junyu Guo, and
+Xia Hu. "RLCard: A Platform for Reinforcement Learning in Card Games." In IJCAI. 2020.
+
+@article{zha2019rlcard,
   title={RLCard: A Toolkit for Reinforcement Learning in Card Games},
   author={Zha, Daochen and Lai, Kwei-Herng and Cao, Yuanpu and Huang, Songyi and Wei, Ruzhe and Guo, Junyu and Hu, Xia},
   journal={arXiv preprint arXiv:1910.04376},