nikoli/nikoli.rb

16 lines
268 B
Ruby
Raw Normal View History

2014-12-05 12:52:12 +01:00
#!/usr/bin/env ruby
require 'sinatra'
require 'coffee-script'
require 'slim'
require 'sass'
get('/application.css') { scss :application }
get('/') { slim :index }
%i{nurikabe}.each do |game|
get("/#{game}") { slim game }
get("/#{game}.js") { coffee game }
end