diff --git a/src/Go.cr b/src/Go.cr index 15235b0..d500ec3 100644 --- a/src/Go.cr +++ b/src/Go.cr @@ -90,7 +90,11 @@ post "/create" do |env| end game = Go::Game.new(Go::Size::Small, black_pass, white_pass) create_game(nil, GAME_CACHE, game, game_id.as(String)) - "Created!" + + id = game_id + size = game.size.value + black = color_e == Go::Color::Black + render "src/Go/views/game.ecr", "src/Go/views/base.ecr" end end