Code Monkey home page Code Monkey logo

Comments (2)

NellybettIrahola avatar NellybettIrahola commented on August 27, 2024

I created a FileManagement class for this issue. I had to modify some things in the views, models and controllers to made the call to this class.

The call is made from the controller modelRisk.setBoard(pathToUse)

Only works in Windows. If you want to try it in Linux, you would have to modify line 61 of the FileManagement class. You would have to change the separators "\" to "/".

Please try to use it and let me know if I can close the issue.

from risk-game.

hantoine avatar hantoine commented on August 27, 2024

There was an issue in the parsing of map files on Linux (the files still have \r\n end of line so should be parsed the same way). I fixed it. in commit ab704eb .

We can now close this issue.

from risk-game.

Related Issues (20)

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.