Skip to content

Instantly share code, notes, and snippets.

View vegegoku's full-sized avatar
😎
Working on DominoKit

Ahmad K. Bawaneh vegegoku

😎
Working on DominoKit
View GitHub Profile

Eiad gaming corp

VromVrom

Eiad corp is a new tech company that wants to make its name into the gaming industry, and they have been for a long time looking for talented developers to start working on there first title, they are starting a new racing game project and they have already started the process of getting the team ready to implement the first phase of the game development, as part of the preparations they want to build a simple version of the game in java to test the basic ideas before actually build all the graphical assets, they need something that help the developers to test ideas and introduce new ones using some unit tests. following is the basic set of ideas and functionalities they expect to exists in the initial version of the game and they need to confirm the experiment version can land the required logic by the developers.

VromVrom drag racing game :

The game is a drag race game, the players will race with their high performing cars in a straight line, the player reaching the end

package org.dominokit.samples;
import elemental2.dom.HTMLDivElement;
import org.dominokit.domino.ui.cards.Card;
import org.dominokit.domino.ui.forms.TextBox;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.dominokit.domino.ui.utils.DominoElement;
public class InputElement extends BaseDominoElement<HTMLDivElement, InputElement> {
private DominoElement<HTMLDivElement> root= DominoElement.div();
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.dominokit:lists:gwt-lib:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.dominokit:ui-demo-server-shared:jar -> duplicate declaration of version ${project.version} @ line 55, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] --- gwt-maven-plugin:1.0.0:compile (default-compile) @ ui-demo-frontend ---
[INFO] Compiling module org.dominokit.domino.ui.demo.AppClientModule
[INFO] Tracing compile failure path for type 'javax.validation.ParameterNameProvider'
[INFO] [ERROR] Errors in 'jar:file:/home/vegegoku/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final-sources.jar!/javax/validation/ParameterNameProvider.java'
[INFO] [ERROR] Line 34: No source code is available for type java.lang.reflect.Constructor<T>; did you forget to inherit a required module?
[INFO] [ERROR] Line 44: No source code is available for type java.lang.reflect.Method; did you forget to inherit a required module?
[INFO] Tracing compile failure path for type 'javax.validation.ClockProvider'
[INFO] [ERROR] Errors in 'jar:file:/home/vegegoku/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final-sources.jar!/javax/validation/ClockProvider.java'
[INFO] [ERR
done with pool work for com.google.jsinterop:jsinterop-annotations:2.0.0 TranspileSources in 0ms
done with pool work for javax.annotation:javax.annotation-api:1.3.2 TranspileSources in 0ms
Error:PastOrPresent.java:21: The import java.time cannot be resolved
Error:FutureOrPresent.java:21: The import java.time cannot be resolved
Error:Pattern.java:77: java.util.regex cannot be resolved to a variable
Error:Pattern.java:84: java.util.regex cannot be resolved to a variable
Error:Pattern.java:91: java.util.regex cannot be resolved to a variable
Error:Pattern.java:98: java.util.regex cannot be resolved to a variable
Error:Pattern.java:105: java.util.regex cannot be resolved to a variable
Error:Pattern.java:112: java.util.regex cannot be resolved to a variable
Full thread dump OpenJDK 64-Bit Server VM (25.242-b08 mixed mode):
"Thread-585588" #587164 daemon prio=5 os_prio=0 tid=0x00007fda9808e800 nid=0x1ac3 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"pool-8-thread-70" #1577 prio=5 os_prio=0 tid=0x00007fdb55eda000 nid=0xd7c runnable [0x00007fda2e8e7000]
java.lang.Thread.State: RUNNABLE
at sun.nio.fs.UnixNativeDispatcher.write(Native Method)
at sun.nio.fs.LinuxWatchService$Poller.wakeup(LinuxWatchService.java:201)
at sun.nio.fs.AbstractPoller.invoke(AbstractPoller.java:222)
2020-03-06 21:54:17
Full thread dump OpenJDK 64-Bit Server VM (25.242-b08 mixed mode):
"pool-8-thread-70" #1577 prio=5 os_prio=0 tid=0x00007ff280e4c800 nid=0x6c17 runnable [0x00007ff15fefd000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.createDirectory(Native Method)
at java.io.File.mkdir(File.java:1316)
at java.io.File.mkdirs(File.java:1343)
at java.io.File.mkdirs(File.java:1354)
at java.io.File.mkdirs(File.java:1354)
public final class SimpleBeanBeanJsonSerializerImpl extends AbstractBeanJsonSerializer<SimpleBean> {
public SimpleBeanBeanJsonSerializerImpl() {
}
@Override
public Class getSerializedType() {
return SimpleBean.class;
}
@Override
> Task :client:dependencies
------------------------------------------------------------
Project :client
------------------------------------------------------------
annotationProcessor - Annotation processors and their dependencies for source set 'main'.
+--- com.github.nalukit:nalu-processor:2.0.1-SNAPSHOT
| +--- com.github.nalukit:nalu:2.0.1-SNAPSHOT
This file has been truncated, but you can view the full file.
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'profiles.profile[ossrh].repositories.repository.id' must be unique but found duplicate repository with id sonatype-snapshots-repo @ /home/vegegoku/.m2/settings.xml
[WARNING] 'profiles.profile[artifactory].pluginRepositories.pluginRepository.id' must be unique but found duplicate repository with id sonatype-snapshots-repo @ /home/vegegoku/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.progressoft.alpha:commons-frontend-ui:gwt-lib:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.dominokit.domino:domino-gwt-view:jar -> duplicate declaration of version (?) @ line 85, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must