Skip to content

Maprunner/cd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maprunner IOF Control Description Quiz

What is this?

You can try the quiz here.

If you need some help then all of the answers are here:

Latest news

The quiz has now been updated to the IOF 2024 specification, so you can test your knowledge of railways.

To add a new language you need to create a translation file, based on the xx.js file in the cd/src/lang directory. Then email it to me or create a pull request, and I will build it in.

Build notes

To run on a local server: # npm start

The application is then at localhost:3000 and includes hot module replacement.

To build for release to the internet: # npm run build

To add a new language, update Quiz.jsx.

Technology

The original version was mainly an excuse to try React, but various other things turned out to be needed as well:

  • React: A javascript library for user interfaces. As nice as everyone said it would be, after getting over the move to ES6.
  • Webpack: A module bundler. I wasn't intending to use this but it turned out to be the easiest way to get things working. The hot module replacement is impressive, but it feels like I've installed an awful lot of things which I now need to rely on not to break. And it did cause a lot of grief when I needed to update it...
  • npm: The node package manager.
  • IcoMoon App: A really nice utility to generate the icon fonts files.
  • Inkscape: SVG editor.

The second major release moved to React 16, and added Progressive Web App features, so in theory you can now install this and run it without an internet connection.

The third major release moved to Bootstrap for components, and incorporated the IOF 2018 updates.

The IOF 2024 update has also been covered with the addition of the "railway" symbol.

About

Maprunner IOF Control Description Quiz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published