2016-09-23 22:57:35 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Mine\SeekerBundle\Controller;
|
|
|
|
|
|
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
|
|
|
|
|
|
|
|
class GameController extends Controller
|
|
|
|
|
{
|
2016-10-25 11:19:50 +02:00
|
|
|
public function indexAction()
|
|
|
|
|
{
|
|
|
|
|
return $this->render('MineSeekerBundle:Game:index.html.twig');
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 22:57:35 +02:00
|
|
|
public function playAction()
|
|
|
|
|
{
|
2016-10-25 11:19:50 +02:00
|
|
|
return $this->render('MineSeekerBundle:Game:play.html.twig', array(
|
|
|
|
|
'env' => $this->container->getParameter('kernel.environment')
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function listAction()
|
|
|
|
|
{
|
|
|
|
|
return $this->render('MineSeekerBundle:Game:list.html.twig');
|
2016-09-23 22:57:35 +02:00
|
|
|
}
|
|
|
|
|
}
|