Skip to content

Commit 420cbb4

Browse files
committed
Initial commit
0 parents  commit 420cbb4

File tree

10 files changed

+605
-0
lines changed

10 files changed

+605
-0
lines changed

Diff for: .gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
target/
2+
extras/
3+
gen/
4+
gwt-unitCache/
5+
war/
6+
www-test/
7+
.idea
8+
.classpath
9+
.checkstyle
10+
.factorypath
11+
.project
12+
.settings
13+
.DS_Store
14+
.gwt
15+
.sass-cache
16+
*.iml
17+
*.ipr
18+
*.iws
19+
*.swp
20+
*.swo
21+
*.log
22+
*.launch
23+
/atlassian-ide-plugin.xml

Diff for: .travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: java
2+
3+
jdk:
4+
- oraclejdk8
5+
6+
notifications:
7+
email: false
8+
9+
sudo: false
10+
cache:
11+
directories:
12+
- $HOME/.m2

Diff for: README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# RxBreakout GWT
2+
3+
[Breakout game](https://en.wikipedia.org/wiki/Breakout_(video_game)) in GWT using reactive programming style powered by
4+
[RxJava GWT](https://github.com/intendia-oss/rxjava-gwt).
5+
6+
![RxSnake](https://github.com/ibaca/rxbreakout-gwt/raw/master/screenshot.png)
7+
8+
Original idea from https://manu.ninja/functional-reactive-game-programming-rxjs-breakout
9+
10+

Diff for: pom.xml

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.intendia</groupId>
8+
<artifactId>rxbreakout-gwt</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
<packaging>gwt-app</packaging>
11+
12+
<url>https://github.com/ibaca/rxbreakout-gwt/</url>
13+
14+
<properties>
15+
<maven.compiler.source>1.8</maven.compiler.source>
16+
<maven.compiler.target>1.8</maven.compiler.target>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19+
<gwt.version>2.8.1</gwt.version>
20+
<github.global.server>github</github.global.server>
21+
</properties>
22+
23+
<dependencyManagement>
24+
<dependencies>
25+
<dependency>
26+
<groupId>com.google.gwt</groupId>
27+
<artifactId>gwt</artifactId>
28+
<version>${gwt.version}</version>
29+
<type>pom</type>
30+
<scope>import</scope>
31+
</dependency>
32+
</dependencies>
33+
</dependencyManagement>
34+
35+
<dependencies>
36+
<dependency>
37+
<groupId>com.google.gwt</groupId>
38+
<artifactId>gwt-user</artifactId>
39+
</dependency>
40+
<dependency>
41+
<groupId>com.google.gwt</groupId>
42+
<artifactId>gwt-dev</artifactId>
43+
</dependency>
44+
<dependency>
45+
<groupId>com.intendia.gwt</groupId>
46+
<artifactId>rxjava-gwt</artifactId>
47+
<version>1.2.10-beta1</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>com.intendia.gwt.rxgwt</groupId>
51+
<artifactId>rxgwt</artifactId>
52+
<version>0.1</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>com.google.elemental2</groupId>
56+
<artifactId>elemental2-dom</artifactId>
57+
<version>1.0.0-beta-1</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.google.elemental2</groupId>
61+
<artifactId>elemental2-media</artifactId>
62+
<version>1.0.0-beta-1</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.google.code.findbugs</groupId>
66+
<artifactId>jsr305</artifactId>
67+
<version>3.0.0</version>
68+
</dependency>
69+
</dependencies>
70+
71+
<build>
72+
<plugins>
73+
<plugin>
74+
<groupId>net.ltgt.gwt.maven</groupId>
75+
<artifactId>gwt-maven-plugin</artifactId>
76+
<version>1.0-rc-7</version>
77+
<extensions>true</extensions>
78+
<configuration>
79+
<moduleName>breakout.Breakout</moduleName>
80+
<skipModule>true</skipModule>
81+
<failOnError>true</failOnError>
82+
<devmodeArgs>
83+
<arg>-bindAddress</arg>
84+
<arg>0.0.0.0</arg>
85+
</devmodeArgs>
86+
<startupUrls>
87+
<url>/breakout/</url>
88+
</startupUrls>
89+
</configuration>
90+
</plugin>
91+
<plugin>
92+
<groupId>com.github.github</groupId>
93+
<artifactId>site-maven-plugin</artifactId>
94+
<version>0.12</version>
95+
<configuration>
96+
<message>Creating site for ${project.version}</message>
97+
<outputDirectory>${project.build.directory}/${project.build.finalName}/breakout</outputDirectory>
98+
</configuration>
99+
</plugin>
100+
<plugin>
101+
<!-- just here to make IntelliJ happy -->
102+
<groupId>org.codehaus.mojo</groupId>
103+
<artifactId>gwt-maven-plugin</artifactId>
104+
<version>2.8.1</version>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
</project>

Diff for: screenshot.png

107 KB
Loading

Diff for: site.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
mvn clean package com.github.github:site-maven-plugin:site

Diff for: src/main/java/breakout/Breakout.gwt.xml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.8.0//EN" "http://gwtproject.org/doctype/2.8.0/gwt-module.dtd">
3+
<module rename-to="breakout">
4+
<inherits name="com.google.gwt.core.Core"/>
5+
<inherits name="elemental2.dom.Dom"/>
6+
<inherits name="elemental2.media.Media"/>
7+
<inherits name="rx.Rx"/>
8+
<entry-point class="breakout.client.Breakout"/>
9+
</module>

0 commit comments

Comments
 (0)