Added apache license and fixed formatting of web files

This commit is contained in:
2012-04-16 10:27:19 -04:00
parent cc3800bdfe
commit 390e962462
2 changed files with 48 additions and 20 deletions

View File

@@ -1,20 +1,33 @@
<!--
Copyright 2012 Richard Barrette
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href=""> <jnlp spec="1.0+" codebase="" href="">
<information> <information>
<title>Asteroids</title> <title>Asteroids</title>
<vendor>Richard Barrette</vendor> <vendor>Richard Barrette</vendor>
</information> </information>
<resources> <resources>
<!-- Application Resources --> <j2se version="1.6+" ref="http://java.sun.com/products/autodl/j2se" />
<j2se version="1.6+" <jar href="Asteroids.jar" main="true" />
href="http://java.sun.com/products/autodl/j2se" /> </resources>
<jar href="Asteroids.jar" main="true" /> <applet-desc
</resources> name="Asteroids"
<applet-desc main-class="com.RickBarrette.asteroids.GameApplet"
name="Asteroids" width="1000"
main-class="com.RickBarrette.asteroids.GameApplet" height="800">
width="1000" </applet-desc>
height="800"> <update check="background"/>
</applet-desc>
<update check="background"/>
</jnlp> </jnlp>

View File

@@ -1,3 +1,18 @@
<!--
Copyright 2012 Richard Barrette
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US"> <html lang="en-US">
<HEAD> <HEAD>
@@ -7,11 +22,11 @@
<br/> <br/>
</HEAD> </HEAD>
<BODY> <BODY>
<applet width="800" height="500" code="com.RickBarrette.asteroids.GameApplet"> <applet width="100%" height="70%" code="com.RickBarrette.asteroids.GameApplet">
<param name="jnlp_href" value="Asteroids.jnlp"> <param name="jnlp_href" value="Asteroids.jnlp">
</applet> </applet>
<br/> <h3>Controls</h3>
<strong>Steering: </strong> [W] [A] [S] [D] or [Arrow] Keys <strong>Steering: </strong> [W] [A] [S] [D] or [Arrow] Keys
<br/> <br/>
<strong>Fire:</strong> [Space] <strong>Fire:</strong> [Space]