This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.

109 lines
2.1 KiB
PHP
Raw Normal View History

@extends('frontend/template')
2015-03-09 22:22:43 +01:00
@section('page-css')
2015-03-09 22:22:43 +01:00
<link rel="stylesheet" href="/css/memory.css">
@endsection
@section('content')
2015-03-09 22:22:43 +01:00
<div class="container">
2015-02-19 22:53:52 +01:00
2015-03-05 18:03:46 +01:00
<!-- <center><img src="http://i.ytimg.com/vi/xiIO1zUXNVI/maxresdefault.jpg" width="60%"></center> -->
2015-03-09 22:22:43 +01:00
2015-03-09 14:48:35 +01:00
<div class="wrapper">
2015-03-05 18:03:46 +01:00
<div class="content">
2015-03-07 01:25:55 +01:00
<div class="row">
2015-03-09 22:22:43 +01:00
<div class="col-xs-12 col-sm-10 col-md-12">
2015-03-07 01:25:55 +01:00
<div id="my-memory-game"></div>
2015-03-09 14:48:35 +01:00
</div>
2015-03-07 01:25:55 +01:00
</div>
2015-03-05 18:03:46 +01:00
</div>
</div><!-- /.content -->
2015-03-09 14:48:35 +01:00
</div>
@endsection
@section('page-scripts')
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="/js/classList.min.js"></script>
<script src="/js/memory.js"></script>
2015-03-14 17:48:57 +01:00
<script>
(function(){
var myMem = new Memory({
wrapperID : "my-memory-game",
cards : [
{
id : 1,
img: "/pictures/default/monsters-01.png"
},
{
id : 2,
img: "/pictures/default/monsters-02.png"
},
{
id : 3,
img: "/pictures/default/monsters-03.png"
},
{
id : 4,
img: "/pictures/default/monsters-04.png"
},
{
id : 5,
img: "/pictures/default/monsters-05.png"
},
{
id : 6,
img: "/pictures/default/monsters-06.png"
},
{
id : 7,
img: "/pictures/default/monsters-07.png"
},
{
id : 8,
img: "/pictures/default/monsters-08.png"
},
{
id : 9,
img: "/pictures/default/monsters-09.png"
},
{
id : 10,
img: "/pictures/default/monsters-10.png"
},
{
id : 11,
img: "/pictures/default/monsters-11.png"
},
{
id : 12,
img: "/pictures/default/monsters-12.png"
},
{
id : 13,
img: "/pictures/default/monsters-13.png"
},
{
id : 14,
img: "/pictures/default/monsters-14.png"
},
{
id : 15,
img: "/pictures/default/monsters-15.png"
},
{
id : 16,
img: "/pictures/default/monsters-16.png"
}
],
onGameStart : function() { return false; },
onGameEnd : function() { return false; }
});
})();
</script>
@endsection