5 kyu
Game - Electrons around the cores
306 of 1,088ineiti
Description:
Have you heard of the game "electrons around the cores"? I'm not allowed to give you the complete rules of the game, just so much:
- the game is played with 4 to 6 dice, so you get an array of 4 to 6 numbers, each 1-6
- the name of the game is important
- you have to return the correct number five times in a row and your solution is considered to be correct
If you just press "submit", you'll get an array and the expected value!
Here are some input/output pairs for you to wrap your mind around:
- [ 1, 2, 3, 4, 5 ] -> 6
- [ 2, 2, 3, 3 ] -> 4
- [ 6, 6, 4, 4, 1, 3 ] -> 2
- [ 3, 5, 3, 5, 4, 2 ] -> 12
And yes, it is a shameless copy of a famous game.
Reverse Engineering
Games
Puzzles
Riddles
Similar Kata:
Stats:
Created | Aug 30, 2013 |
Published | Aug 30, 2013 |
Warriors Trained | 4314 |
Total Skips | 1293 |
Total Code Submissions | 13794 |
Total Times Completed | 1088 |
Ruby Completions | 306 |
JavaScript Completions | 420 |
Python Completions | 326 |
Rust Completions | 61 |
Factor Completions | 13 |
COBOL Completions | 8 |
Go Completions | 25 |
Total Stars | 67 |
% of votes with a positive feedback rating | 69% of 165 |
Total "Very Satisfied" Votes | 98 |
Total "Somewhat Satisfied" Votes | 32 |
Total "Not Satisfied" Votes | 35 |