Giter Club home page Giter Club logo

ud282's People

Contributors

adriantache avatar sudkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ud282's Issues

Project 1 - TicTacToe does not work

The project uses Gradle 4.4.1 which is incompatible with Java 11 or newer.

Possible solution:

  • Upgrade Gradle wrapper to 4.8.1 version and re-import the project
  • Use Java 8 as Gradle JVM: Open Gradle settings

What should I do?

GameUI.java throws a java.lang.IllegalArgumentException during runtime.

Hi,

I have found that during runtime, the GameUI.java throws a java.lang.IllegalArgumentException at line 49 with message "input==null!".
The following are the logs for same:
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(ImageIO.java:1348)
at com.udacity.GameUI.(GameUI.java:49)
at com.udacity.Game.main(Game.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Process finished with exit code 1

While tracing the issue, it seems that there exists some problem with the way grid.png, x.png & o.png images are read using ImageIO.read() function.

I have made some minor changes in code to fix the issue. If the maintainers feel that this is a genuine issue, I can proceed with a pull request for same. Thank you!

Cannot find Class com.udacity.Game

Hey I am following along with the udacity course and it says to set main class to com.udacity.Game. when configuring the application to run (using intellij). For some reason intellij is not finding this class even though it is in the file.

See the warning below. I can build the file with no issues, but am not able to run the application. Appreciate any help. New to intellij..

image

Project Sync Failed

Could not determine Java version using executable C:\Program Files\Java\jdk-10.0.2\bin\java.exe.

Project 1 - TicTacToe doesn't run on Eclipse

Hi there, I have Eclipse not IntelliJ, and when I open the project and run the Game.java file, it gives me the following error:

"Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1356)
at com.udacity.GameUI.(GameUI.java:39)
at com.udacity.Game.main(Game.java:163)"

What must I do for this programme to run in Eclipse?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.