No Description

Chris Kentfield e74fe3593a initial import 2 years ago
Models e74fe3593a initial import 2 years ago
Modules e74fe3593a initial import 2 years ago
Style e74fe3593a initial import 2 years ago
Templates e74fe3593a initial import 2 years ago
app e74fe3593a initial import 2 years ago
lib e74fe3593a initial import 2 years ago
spec e74fe3593a initial import 2 years ago
.gitignore e74fe3593a initial import 2 years ago
App.cs e74fe3593a initial import 2 years ago
CompilerException.cs e74fe3593a initial import 2 years ago
Dimensions.cs e74fe3593a initial import 2 years ago
Grid.cs e74fe3593a initial import 2 years ago
IGrid.cs e74fe3593a initial import 2 years ago
IShapeFinder.cs e74fe3593a initial import 2 years ago
LICENSE e74fe3593a initial import 2 years ago
NancyDemo.csproj e74fe3593a initial import 2 years ago
OriginalSnippet.cs e74fe3593a initial import 2 years ago
README.md e74fe3593a initial import 2 years ago
Shape.cs e74fe3593a initial import 2 years ago
ShapeFinderCompiler.cs e74fe3593a initial import 2 years ago
ShapeFinderTester.cs e74fe3593a initial import 2 years ago

README.md

Grid Puzzle

WARNING THIS WEBSITE COMPILES USER SUBMITTED C# CODE. IF YOU RUN THIS ON A PUBLIC SERVER, THERE'S A GOOD CHANCE YOU WILL BE HACKED.

Building & Running

Windows

Make sure msbuild is in your path. If it isn't something like this should work.

C:\path\to\GridPuzzle> set PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;%PATH%

Now just build the project and start the web server.

C:\path\to\GridPuzzle> msbuild.exe
C:\path\to\GridPuzzle> bin\GridPuzzle.exe

Linux / Mono

With Mono on Linux, you should be able to run the following.

$ xbuild
$ mono bin/GridPuzzle.exe

If everything went well, you should now have a site on localhost:8888