Code-Bullet/Hill-Climb-Racing-AI

selection does not contain a main type

Opened this issue · 3 comments

if i try to run it i get the error: selection does not contain a main type
how to fix it
i did import the project to eclipse otherwise i dont know ho to run it

How can I reproduce the error

Eclipse is generally for java, which is why it is looking for a main java method in the so called-project you imported. There are a couple of ways you could run this:

  • Open the repository folder in your File Explorer, and open the index.html file with your browser. This will help you use the project offline if you want.
  • Open this repository in Visual Studio, and run it via localhost. Again there are a number of ways to do that, but the best way is Live Server.