GithubHelp home page GithubHelp logo

Comments (1)

mrlsecurity avatar mrlsecurity commented on June 13, 2024

so....
If someone wants to customize this game, you can change names to your own in 2 files:
database/countries.sql
and
src/models/Country.php.

countries.sql:
CHANGE
``iso_codevarchar(2) toiso_code` varchar(20) `//or another number of chars.
next -> change iso codes of countries to your names;
to paint your own svg picture use Adobe Illustrator, or any online editor that allows make svg inline.
copy it's and past it to the the second row instead of previous one.

excellent.

Country.php:
find "$translated_name"
comment next lines

    #$translated_name = locale_get_display_region(
    # '-'.must_have_idx($row, 'iso_code'),
    #  $language,
    #);


add under this next one:
$translated_name = must_have_idx($row, 'iso_code');

Excellent. Hope it will help someone.

from fbctf.

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.