-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTODO
149 lines (133 loc) · 6.65 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
X 1. write text ~ 3 hours 0.5 days
-main text
-footer
X 2. deploy ~ ?? -- 1 day
X 3. make a deploy script for scrabble
X 3. move input box lower (iphone bug)
X 3. fix auto scrolling bug on mobile !!!!!
X 4. mobile version grid: don't display score until you haven't end turn
X 5. "Player 2 submit a word"
X 6. Don't let user end game without playing at least one round
X 7. Dialog asking if the player is sure to exit the page ~ 1 hours -- 0.5 days
X 8. layout/grid
X - create grid
X - organize elements in the grid
X - make sure page is looking nice when resizing
X 9. create logo ~ 4 hours -- 1 day
X 10. font/sizing choose font for every element, and size of the font for every element, ~ 5 hours -- 1 day
X - text
X - buttons
X - bingo switch
X - score table
- specify button width in %percents
X 11. color/ and shape ~ 10 hours -- 2 days
- background
- nav bar/ footer
- buttons
- table
- rename start button
X 12. Create PLAYER WON
X 13. all above is working for both desktop and mobile ~ 3 hours -- 1 day
X 14. testing
X 15. linting
X 16. install GA - google analytics
X 17. make static page
X 19. figure out why the react snapshot adds bugs, and fix it
X 20. logo size should be shown with css
X 21. do event tracking with react-ga
X 22. change style for input box
X 23. change style for nameinput
X 24. change style of the github/facebook icons
X 25. change style for modifier container desktop
X 26. no scrolling for desktop
X 27. callPlayerToAction can be simplified
X 28. browser back button go back to gamesettings, forward button go to scorekeeper, saving the players names
X 29. reload shqould only be prompted when:
X a. you are not in dev mode
X b. you have played at least one move, and the game is not over
X 30. image preload/ was changed to prefetch
X 31. make notes for the history pushing, preloading images
X 32.rewrite instructions How to use scrabblescore online
X 33. Put the logEvent()/logEventInit() code in util.js, and only log when in production and not react-snap.
X - If the logEvent function raises an exception, do not break everything. Catch it and log it in the console. Use try { } catch {}
X - Refactor the code that test if is react-snap with a function from util.js
X 34. disable the player name input box if the app has not loaded yet.
X 35. Take out ReactGA events
X 36. logo should be clickable to go back to home page
X 37. Style bingo toggle
X 38. you may contact me via email. -> you may contact the developer, Anna Maniuk, via email.
X 39. Preload the image doing some hacks.
X 40. Set body to have min width of 400px;
X 41. Mobile: take out the Scrable Score Sheet title.
X 42. Mobile: scroll up when first load game
X 43. InGameControl: there's a isMobile prop that seems useless.
X 44. blank tile: show the letter with some transparency
X 45. figure out the colors for modifiers
X 46. inGameOver PASSED --> NO LEFTOVERS
X 47. modifier color border, fix letters so they don't move because of the border
X 48. first turn instruction
X - css class first-turn
X - star for first double letter
X - image canvas size
X - add-word has to be disabled for first turn
X - passing is ok, but not end turn without modifier
X - add popover with instruction "click on the tile"
X 48. Mobile bingo line height in the table cell
X 49. Bingo disabled if less than 7 letters submitted
X 50. Change style for logo && small-logo
X 51. instructions:
X - put game over instructions in the same how to block of text. Instruction if -> when.
X - Reiterate that you are replacing the pen and paper scoring.
X - move -> turn
X - Each turn can have three possiblities:
- one word to submit: type the word in the inputbox. If one of the letter in your word is on a premium square (e.g., double-word), click on the letter tile and select the corresponding premium square. Then press end-turn.
- More than one word to submit: Same as previously, but use the ADD WORD button.
- no words to submit (pass): press the PASS button
X - Dont use "Note: "
X 52. on arrow key even preventDefault()
X 53. linting
X 54. tests all green
X 55. Put description that google can pick up, scoring work according to the official rules
X 56. Add meta-description for Google
X 57. First turn disappeared: Prevent form from submission
X 58. Closing tabs on mobile ? Maybe use LocalStorage to save current game
X 59. Scrolled up when passing/undo
X 60. Screen stays on (should use https://github.com/richtr/NoSleep.js)
X 61. Blank tile on modifier
X 62. leftover row is empty at the end of the game
X 63. button for new game
X 64. when clicking on undo do no refocus
X 65. send event to amplitude when users respond to resume game option
X 66. swap new game and undo button
X 67. clean up button classes
X 68. new-game clean localStorage (make new-game a real button with a handlers)
X 69. log event when clicking on new game button
X 70. add bullet poin about starting new game(to start a new game click on the logo or reload the page)
X 71. toggling bingo should not take the focus out of the input box
X 72. undoing END GAME makes the display scroll on the way up on mobile. No good
X 73. the new game instruction isn't clear
X 74. logo.png make as an image tag, specify width in % so we can resize.
X 75. put images (all except logo) directly in the css as base64
76. *maybe* a way to get bug reports when things crash
77. fix: on end-turn amplitude doesn't log anything in modifiers.
Asosiations to contact:
http://www.scrabbleplayers.org/w/Welcome_to_NASPAWiki North-American Scrabble championship
http://www.absp.org.uk/
screenshot of web-site;
How to install
how to develop first install npm, git clone, cd the thing, npm start
24. write documentation
25. put it on hackernews, reddit
20. i18n (internationalization - make website change languages) ~ 5 hours -- 3 day
21. make input correctly move coursor when clicking on arrows
19. Something to detect crashes. When someone crashes the app receive an email or simillar.
1) write a programm in JS that creates an HTTP server, the endpoint /work should sleep 100ms.
2) write the same program in python using flask
3) write a program in node that is invoked as follow:
node bench.js URL N_REQUESTS N_CONCURRENT
The program should perform a total of N_REQUESTS to the URL in question, and doing it with N_CONCURRENT connections.
The program should print at the end how many replies it got grouped by HTTP status code (200, etc.)
It should also print the average response time (latency) by status code.
print total time to complete the N_REQUESTS.
Not able to connect to URL can be considered as status code 599
See how many conection can be established to the each server concurrently.