Private
Public Access
1
0

new: usr: add mineseeker game to the symfony 4 project #3

This commit is contained in:
2019-10-27 13:35:33 +01:00
parent 6caf340302
commit 3bbc96c76c
160 changed files with 49951 additions and 602 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class GameController extends Controller
{
public function index()
{
return $this->render('Game/index.html.twig');
}
public function play(Request $request)
{
return $this->render('Game/play.html.twig', array(
'env' => $this->container->getParameter('kernel.environment'),
'ssl' => $request->isSecure() ? 'true' : 'false'
));
}
public function privacy()
{
return $this->render('Official/privacy.html.twig');
}
public function terms()
{
return $this->render('Official/terms.html.twig');
}
public function contact()
{
return $this->render('Official/contact.html.twig');
}
public function landing()
{
return $this->render('Official/landing.html.twig');
}
}