Skip to content

Roma-JS/RomaJS-Codemotion-competition-2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RomaJS Codemotion Code Competition 2014

Write a function that takes a Roman numeral and returns a decimal number, i.e.

input: IV output: 4

input: XI output: 11

The algorithm is as follows: if the number is followed by a larger number, its value is subtracted, else it is added.

Install

npm install

Run the tests

npm test

npm run test-dev # run the tests with a watcher

Winner is who:

  • passes tests
  • is fast
  • writes elegant code

About

The quiz including the server of the RomaJS 2014 code competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published