Skip to content

Commit 2fd300c

Browse files
committed
Initial commit.
0 parents  commit 2fd300c

17 files changed

+870
-0
lines changed

.classpath

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
4+
<classpathentry kind="src" path="src"/>
5+
<classpathentry kind="output" path="bin"/>
6+
</classpath>

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/bin/
2+
/highscore.dat

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>JavascriptFlappy</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5+
org.eclipse.jdt.core.compiler.compliance=1.8
6+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
8+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11+
org.eclipse.jdt.core.compiler.source=1.8

LICENSE-CC-BY-4.0.txt

Lines changed: 284 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,284 @@
1+
You can access a better formatted version of this license at
2+
https://creativecommons.org/licenses/by/4.0/ .
3+
4+
=========Creative Commons Attribution 4.0 International Public License=========
5+
6+
By exercising the Licensed Rights (defined below), You accept and agree to be
7+
bound by the terms and conditions of this Creative Commons Attribution 4.0
8+
International Public License ("Public License"). To the extent this Public
9+
License may be interpreted as a contract, You are granted the Licensed Rights in
10+
consideration of Your acceptance of these terms and conditions, and the
11+
Licensor grants You such rights in consideration of benefits the Licensor
12+
receives from making the Licensed Material available under these terms and
13+
conditions.
14+
15+
Section 1 – Definitions.
16+
17+
a. Adapted Material means material subject to Copyright and Similar Rights
18+
that is derived from or based upon the Licensed Material and in which the
19+
Licensed Material is translated, altered, arranged, transformed, or
20+
otherwise modified in a manner requiring permission under the Copyright
21+
and Similar Rights held by the Licensor. For purposes of this Public
22+
License, where the Licensed Material is a musical work, performance, or
23+
sound recording, Adapted Material is always produced where the Licensed
24+
Material is synched in timed relation with a moving image.
25+
26+
b. Adapter's License means the license You apply to Your Copyright and
27+
Similar Rights in Your contributions to Adapted Material in accordance
28+
with the terms and conditions of this Public License.
29+
30+
c. Copyright and Similar Rights means copyright and/or similar rights
31+
closely related to copyright including, without limitation, performance,
32+
broadcast, sound recording, and Sui Generis Database Rights, without
33+
regard to how the rights are labeled or categorized. For purposes of this
34+
Public License, the rights specified in Section 2(b)(1)-(2) are not
35+
Copyright and Similar Rights.
36+
37+
d. Effective Technological Measures means those measures that, in the
38+
absence of proper authority, may not be circumvented under laws
39+
fulfilling obligations under Article 11 of the WIPO Copyright Treaty
40+
adopted on December 20, 1996, and/or similar international agreements.
41+
42+
e. Exceptions and Limitations means fair use, fair dealing, and/or any other
43+
exception or limitation to Copyright and Similar Rights that applies to
44+
Your use of the Licensed Material.
45+
46+
f. Licensed Material means the artistic or literary work, database, or other
47+
material to which the Licensor applied this Public License.
48+
49+
g. Licensed Rights means the rights granted to You subject to the terms and
50+
conditions of this Public License, which are limited to all Copyright and
51+
Similar Rights that apply to Your use of the Licensed Material and that
52+
the Licensor has authority to license.
53+
54+
h. Licensor means the individual(s) or entity(ies) granting rights under
55+
this Public License.
56+
57+
i. Share means to provide material to the public by any means or process
58+
that requires permission under the Licensed Rights, such as reproduction,
59+
public display, public performance, distribution, dissemination,
60+
communication, or importation, and to make material available to the
61+
public including in ways that members of the public may access the
62+
material from a place and at a time individually chosen by them.
63+
64+
j. Sui Generis Database Rights means rights other than copyright resulting
65+
from Directive 96/9/EC of the European Parliament and of the Council of
66+
11 March 1996 on the legal protection of databases, as amended and/or
67+
succeeded, as well as other essentially equivalent rights anywhere in the
68+
world.
69+
70+
k. You means the individual or entity exercising the Licensed Rights under
71+
this Public License. Your has a corresponding meaning.
72+
73+
Section 2 – Scope.
74+
75+
a. License grant.
76+
1. Subject to the terms and conditions of this Public License, the
77+
Licensor hereby grants You a worldwide, royalty-free,
78+
non-sublicensable, non-exclusive, irrevocable license to exercise the
79+
Licensed Rights in the Licensed Material to:
80+
A. reproduce and Share the Licensed Material, in whole or in part;
81+
and
82+
83+
B. produce, reproduce, and Share Adapted Material.
84+
85+
2. Exceptions and Limitations. For the avoidance of doubt, where
86+
Exceptions and Limitations apply to Your use, this Public License
87+
does not apply, and You do not need to comply with its terms and
88+
conditions.
89+
90+
3. Term. The term of this Public License is specified in Section 6(a).
91+
92+
4. Media and formats; technical modifications allowed. The Licensor
93+
authorizes You to exercise the Licensed Rights in all media and
94+
formats whether now known or hereafter created, and to make technical
95+
modifications necessary to do so. The Licensor waives and/or agrees
96+
not to assert any right or authority to forbid You from making
97+
technical modifications necessary to exercise the Licensed Rights,
98+
including technical modifications necessary to circumvent Effective
99+
Technological Measures. For purposes of this Public License, simply
100+
making modifications authorized by this Section 2(a)(4) never
101+
produces Adapted Material.
102+
103+
5. Downstream recipients.
104+
A. Offer from the Licensor – Licensed Material. Every recipient of
105+
the Licensed Material automatically receives an offer from the
106+
Licensor to exercise the Licensed Rights under the terms and
107+
conditions of this Public License.
108+
109+
B. No downstream restrictions. You may not offer or impose any
110+
additional or different terms or conditions on, or apply any
111+
Effective Technological Measures to, the Licensed Material if
112+
doing so restricts exercise of the Licensed Rights by any
113+
recipient of the Licensed Material.
114+
115+
6. No endorsement. Nothing in this Public License constitutes or may be
116+
construed as permission to assert or imply that You are, or that Your
117+
use of the Licensed Material is, connected with, or sponsored,
118+
endorsed, or granted official status by, the Licensor or others
119+
designated to receive attribution as provided in
120+
Section 3(a)(1)(A)(i).
121+
122+
b. Other rights.
123+
1. Moral rights, such as the right of integrity, are not licensed under
124+
this Public License, nor are publicity, privacy, and/or other similar
125+
personality rights; however, to the extent possible, the Licensor
126+
waives and/or agrees not to assert any such rights held by the
127+
Licensor to the limited extent necessary to allow You to exercise the
128+
Licensed Rights, but not otherwise.
129+
130+
2. Patent and trademark rights are not licensed under this Public
131+
License.
132+
133+
3. To the extent possible, the Licensor waives any right to collect
134+
royalties from You for the exercise of the Licensed Rights, whether
135+
directly or through a collecting society under any voluntary or
136+
waivable statutory or compulsory licensing scheme. In all other cases
137+
the Licensor expressly reserves any right to collect such royalties.
138+
139+
Section 3 – License Conditions.
140+
141+
Your exercise of the Licensed Rights is expressly made subject to the following
142+
conditions.
143+
144+
a. Attribution.
145+
146+
1. If You Share the Licensed Material (including in modified form), You
147+
must:
148+
A. retain the following if it is supplied by the Licensor with the
149+
Licensed Material:
150+
i. identification of the creator(s) of the Licensed Material and
151+
any others designated to receive attribution, in any
152+
reasonable manner requested by the Licensor (including by
153+
pseudonym if designated);
154+
155+
ii. a copyright notice;
156+
157+
iii. a notice that refers to this Public License;
158+
159+
iv. a notice that refers to the disclaimer of warranties;
160+
161+
v. a URI or hyperlink to the Licensed Material to the extent
162+
reasonably practicable;
163+
164+
B. indicate if You modified the Licensed Material and retain an
165+
indication of any previous modifications; and
166+
167+
C. indicate the Licensed Material is licensed under this Public
168+
License, and include the text of, or the URI or hyperlink to,
169+
this Public License.
170+
171+
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable
172+
manner based on the medium, means, and context in which You Share the
173+
Licensed Material. For example, it may be reasonable to satisfy the
174+
conditions by providing a URI or hyperlink to a resource that
175+
includes the required information.
176+
177+
3. If requested by the Licensor, You must remove any of the information
178+
required by Section 3(a)(1)(A) to the extent reasonably practicable.
179+
180+
4. If You Share Adapted Material You produce, the Adapter's License You
181+
apply must not prevent recipients of the Adapted Material from
182+
complying with this Public License.
183+
184+
Section 4 – Sui Generis Database Rights.
185+
186+
Where the Licensed Rights include Sui Generis Database Rights that apply to Your
187+
use of the Licensed Material:
188+
189+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to
190+
extract, reuse, reproduce, and Share all or a substantial portion of the
191+
contents of the database;
192+
193+
b. if You include all or a substantial portion of the database contents in a
194+
database in which You have Sui Generis Database Rights, then the database
195+
in which You have Sui Generis Database Rights (but not its individual
196+
contents) is Adapted Material; and
197+
198+
c. You must comply with the conditions in Section 3(a) if You Share all or a
199+
substantial portion of the contents of the database.
200+
201+
For the avoidance of doubt, this Section 4 supplements and does not replace Your
202+
obligations under this Public License where the Licensed Rights include other
203+
Copyright and Similar Rights.
204+
205+
Section 5 – Disclaimer of Warranties and Limitation of Liability.
206+
207+
a. Unless otherwise separately undertaken by the Licensor, to the extent
208+
possible, the Licensor offers the Licensed Material as-is and
209+
as-available, and makes no representations or warranties of any kind
210+
concerning the Licensed Material, whether express, implied, statutory, or
211+
other. This includes, without limitation, warranties of title,
212+
merchantability, fitness for a particular purpose, non-infringement,
213+
absence of latent or other defects, accuracy, or the presence or absence
214+
of errors, whether or not known or discoverable. Where disclaimers of
215+
warranties are not allowed in full or in part, this disclaimer may not
216+
apply to You.
217+
218+
b. To the extent possible, in no event will the Licensor be liable to You on
219+
any legal theory (including, without limitation, negligence) or otherwise
220+
for any direct, special, indirect, incidental, consequential, punitive,
221+
exemplary, or other losses, costs, expenses, or damages arising out of
222+
this Public License or use of the Licensed Material, even if the Licensor
223+
has been advised of the possibility of such losses, costs, expenses, or
224+
damages. Where a limitation of liability is not allowed in full or in
225+
part, this limitation may not apply to You.
226+
227+
c. The disclaimer of warranties and limitation of liability provided above
228+
shall be interpreted in a manner that, to the extent possible, most
229+
closely approximates an absolute disclaimer and waiver of all liability.
230+
231+
Section 6 – Term and Termination.
232+
233+
a. This Public License applies for the term of the Copyright and Similar
234+
Rights licensed here. However, if You fail to comply with this Public
235+
License, then Your rights under this Public License terminate
236+
automatically.
237+
238+
b. Where Your right to use the Licensed Material has terminated under
239+
Section 6(a), it reinstates:
240+
1. automatically as of the date the violation is cured, provided it is
241+
cured within 30 days of Your discovery of the violation; or
242+
243+
2. upon express reinstatement by the Licensor.
244+
245+
c. For the avoidance of doubt, this Section 6(b) does not affect any right
246+
the Licensor may have to seek remedies for Your violations of this Public
247+
License.
248+
249+
d. For the avoidance of doubt, the Licensor may also offer the Licensed
250+
Material under separate terms or conditions or stop distributing the
251+
Licensed Material at any time; however, doing so will not terminate this
252+
Public License.
253+
254+
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
255+
256+
Section 7 – Other Terms and Conditions.
257+
258+
a. The Licensor shall not be bound by any additional or different terms or
259+
conditions communicated by You unless expressly agreed.
260+
261+
b. Any arrangements, understandings, or agreements regarding the Licensed
262+
Material not stated herein are separate from and independent of the terms
263+
and conditions of this Public License.
264+
265+
Section 8 – Interpretation.
266+
267+
a. For the avoidance of doubt, this Public License does not, and shall not
268+
be interpreted to, reduce, limit, restrict, or impose conditions on any
269+
use of the Licensed Material that could lawfully be made without
270+
permission under this Public License.
271+
272+
b. To the extent possible, if any provision of this Public License is deemed
273+
unenforceable, it shall be automatically reformed to the minimum extent
274+
necessary to make it enforceable. If the provision cannot be reformed, it
275+
shall be severed from this Public License without affecting the
276+
enforceability of the remaining terms and conditions.
277+
278+
c. No term or condition of this Public License will be waived and no failure
279+
to comply consented to unless expressly agreed to by the Licensor.
280+
281+
d. Nothing in this Public License constitutes or may be interpreted as a
282+
limitation upon, or waiver of, any privileges and immunities that apply
283+
to the Licensor or You, including from the legal processes of any
284+
jurisdiction or authority.

LICENSE-MIT.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2018 Uko Koknevics
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

0 commit comments

Comments
 (0)