GithubHelp home page GithubHelp logo

psp87 / chess Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 17.0 13.36 MB

Chess Web App developed on ASP.NET Core using SignalR and chessboardjs.

Home Page: https://chess-bg.azurewebsites.net/

License: MIT License

C# 76.45% HTML 9.43% CSS 3.54% JavaScript 6.74% Dockerfile 0.27% HCL 3.24% Shell 0.32%
chess asp-net-core asp signalr web-app chessboardjs game chess-game board-game multiplayer-game

chess's People

Contributors

psp87 avatar stringls avatar tanczosm avatar

Stargazers

 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

chess's Issues

There is no site.js file in wwwroot/js directory

I've run into a problem. When I build an app by this command "dotnet build --configuration Release" I got this warn "wwwroot/js/site.js was not found", but in bundleconfig.json you mention wwwroot/js/site.js like input file.
When I try to run the program there is no ouput and no listening port 8080. So how to start the app?
I am sorry if I am wrong somewhere, I would be glad if you help me to find out how to start the app correctly.
Thank you, Have a great day

Checkmate Bug

Sometimes checkmate is not working normally. Usually when a piece can block the check, it is not validated if the move not open other check.

Azure SqlException: Database on server is not currently available

image

Hey @psp87, A few days ago I faced such a problem (check the screenshot) and after searching the solution I've changed this function in Startup.cs

        private void AddDatabase(IServiceCollection services)
        {
            services.AddDbContext<ChessDbContext>(options => options.UseSqlServer(
                    this.configuration.GetChessDbConnectionString(),
                    options => options.EnableRetryOnFailure()));
        }

After running the github action looks like everything works well.

Also I created some terraform configuration files, so if you don't mind to add them to your repository (of course after your detailed validation :), I will be glad to send it to you).

Thank you

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.