Skip to content
#

code-wars

Here are 19 public repositories matching this topic...

"The Shell Game" involves cups upturned on a playing surface, with a ball placed underneath one of them. The index of the cups are swapped around multiple times. After that the players will try to find which cup contains the ball. Your task is as follows. Given the cup that the ball starts under, and list of swaps, return the location of the bal…

  • Updated Jul 6, 2022
  • JavaScript

ROT13 is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet. ROT13 is an example of the Caesar cipher. Create a function that takes a string and returns the string ciphered with Rot13. If there are numbers or special characters included in the string, they should be returned as they are…

  • Updated Jul 6, 2022
  • JavaScript

Improve this page

Add a description, image, and links to the code-wars topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the code-wars topic, visit your repo's landing page and select "manage topics."

Learn more