projects
/
multypo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf95a00
)
play.sh now picks 10 random words out of the dictionary instead of playing all words...
author
Constantin
<constantin@exxxtremesys.lu>
Wed, 15 May 2013 18:37:38 +0000
(20:37 +0200)
committer
Constantin
<constantin@exxxtremesys.lu>
Wed, 15 May 2013 18:37:38 +0000
(20:37 +0200)
play.sh
patch
|
blob
|
history
diff --git
a/play.sh
b/play.sh
index 7b22b59c4786dc546cb6d313e42156d0268e5eaa..5ee9b2dfc032701d627b179b4ffb62de2d40b15e 100755
(executable)
--- a/
play.sh
+++ b/
play.sh
@@
-1,4
+1,8
@@
#!/bin/sh
#!/bin/sh
-cat words.txt | ./game
+# you should probably download a txt dictionary of your favourite language and use that as a words.txt
+
+WORDSTOPLAY=10
+
+sort -R words.txt | fgrep -v \" | head -n $WORDSTOPLAY | ./game