web-guess-your-number 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +115 -8
- package/package.json +4 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2013-
|
|
3
|
+
Copyright (c) 2013-25 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,15 +1,42 @@
|
|
|
1
1
|
<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
# web-guess-your-number
|
|
5
21
|
|
|
6
|
-
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://www.npmjs.com/package/web-guess-your-number) [](https://www.npmjs.com/package/web-guess-your-number) [](https://www.codementor.io
|
|
22
|
+
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://www.npmjs.com/package/web-guess-your-number) [](https://www.npmjs.com/package/web-guess-your-number) [](https://www.codementor.io/@johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
|
|
7
23
|
|
|
8
24
|
<a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
|
|
9
25
|
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
10
32
|
> Divide et Impera method for guessing a number you choose from an interval. You will answer to a minimum number of questions.
|
|
11
33
|
|
|
12
34
|
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
13
40
|
You will answer to a minimum number of questions.
|
|
14
41
|
|
|
15
42
|
## The steps
|
|
@@ -59,12 +86,69 @@ function think() {
|
|
|
59
86
|
```
|
|
60
87
|
|
|
61
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
|
+
## :question: Get Help
|
|
121
|
+
|
|
122
|
+
There are few ways to get help:
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
|
|
127
|
+
2. For bug reports and feature requests, open issues. :bug:
|
|
128
|
+
3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
62
147
|
## :yum: How to contribute
|
|
63
148
|
Have an idea? Found a bug? See [how to contribute][contributing].
|
|
64
149
|
|
|
65
150
|
|
|
66
151
|
## :sparkling_heart: Support my projects
|
|
67
|
-
|
|
68
152
|
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
|
|
69
153
|
this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
|
|
70
154
|
|
|
@@ -84,21 +168,44 @@ Thanks! :heart:
|
|
|
84
168
|
|
|
85
169
|
|
|
86
170
|
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
87
192
|
## :scroll: License
|
|
88
193
|
|
|
89
194
|
[MIT][license] © [Ionică Bizău][website]
|
|
90
195
|
|
|
91
196
|
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
[license]: /LICENSE
|
|
202
|
+
[website]: https://ionicabizau.net
|
|
203
|
+
[contributing]: /CONTRIBUTING.md
|
|
204
|
+
[docs]: /DOCUMENTATION.md
|
|
92
205
|
[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg
|
|
93
206
|
[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg
|
|
94
207
|
[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
|
|
95
208
|
[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
|
|
96
|
-
|
|
97
209
|
[patreon]: https://www.patreon.com/ionicabizau
|
|
98
210
|
[amazon]: http://amzn.eu/hRo9sIZ
|
|
99
211
|
[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
|
|
100
|
-
|
|
101
|
-
[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2013#license-mit
|
|
102
|
-
[website]: https://ionicabizau.net
|
|
103
|
-
[contributing]: /CONTRIBUTING.md
|
|
104
|
-
[docs]: /DOCUMENTATION.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-guess-your-number",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Divide et Impera method for guessing a number you choose from an interval. You will answer to a minimum number of questions.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -96,8 +96,10 @@
|
|
|
96
96
|
"menu/",
|
|
97
97
|
"cli.js",
|
|
98
98
|
"index.js",
|
|
99
|
+
"index.d.ts",
|
|
100
|
+
"package-lock.json",
|
|
99
101
|
"bloggify.js",
|
|
100
102
|
"bloggify.json",
|
|
101
103
|
"bloggify/"
|
|
102
104
|
]
|
|
103
|
-
}
|
|
105
|
+
}
|