projects
/
lmno.games
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e23593
)
Add score for each word in the display of results for each round
author
Carl Worth
<cworth@cworth.org>
Sun, 28 Jun 2020 00:39:52 +0000
(17:39 -0700)
committer
Carl Worth
<cworth@cworth.org>
Sun, 28 Jun 2020 00:39:52 +0000
(17:39 -0700)
This really helps in picking out whether two words were of equal value
or not.
empathy/empathy.jsx
patch
|
blob
|
history
diff --git
a/empathy/empathy.jsx
b/empathy/empathy.jsx
index 044d4e07ad5e3e62885648410f0d6977d5b62525..407a4fe9cb5cf6f15bcce81e91e2f4c8a3cc9ab1 100644
(file)
--- a/
empathy/empathy.jsx
+++ b/
empathy/empathy.jsx
@@
-1077,7
+1077,7
@@
class Game extends React.PureComponent {
{state.scores.words.map(word => {
return (
<li key={word.word}>
- {word.word}: {word.players.join(', ')}
+ {word.word}
({word.players.length})
: {word.players.join(', ')}
</li>
);
})}