Skip to content

Instantly share code, notes, and snippets.

@skywinder
Forked from futurepaul/Flood.swift
Last active April 18, 2016 15:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skywinder/4688531c72897234dea3 to your computer and use it in GitHub Desktop.
Save skywinder/4688531c72897234dea3 to your computer and use it in GitHub Desktop.
The biblical flood, in Swift
let ๐ŸŒ = "๐Ÿถ๐Ÿบ๐Ÿฑ๐Ÿญ๐Ÿน๐Ÿฐ๐Ÿธ๐Ÿฏ๐Ÿจ๐Ÿป๐Ÿท๐Ÿฝ๐Ÿฎ๐Ÿ—๐Ÿต๐Ÿ’๐Ÿด๐Ÿ‘๐Ÿ˜๐Ÿผ๐Ÿง๐Ÿฆ๐Ÿค๐Ÿฅ๐Ÿฃ๐Ÿ”๐Ÿ๐Ÿข๐Ÿ›๐Ÿ๐Ÿœ๐Ÿž๐ŸŒ๐Ÿ™๐Ÿš๐Ÿ ๐ŸŸ๐Ÿฌ๐Ÿณ๐Ÿ‹๐Ÿ„๐Ÿ๐Ÿ€๐Ÿƒ๐Ÿ…๐Ÿ‡๐Ÿ‰๐ŸŽ๐Ÿ๐Ÿ“๐Ÿ•๐Ÿ–๐Ÿ๐Ÿ‚๐Ÿฒ๐Ÿก๐ŸŠ๐Ÿซ๐Ÿช๐Ÿ†๐Ÿˆ๐Ÿฉ"
var ๐Ÿšข: [String] = []
for ๐Ÿ‘พ in ๐ŸŒ.characters {
let ๐Ÿ’• = String(๐Ÿ‘พ)
๐Ÿšข.append(๐Ÿ’• + ๐Ÿ’•)
}
๐Ÿšข
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment