public function cari(Request $request)
 {
     $data2 = Slider::get();
     $searchterm = $request->input('cari1');
     if ($searchterm) {
         $results = Game::Where('Judul', 'LIKE', '%' . $searchterm . '%')->get();
         return view('cari', compact('results', 'searchterm', 'data2'));
     }
 }
 public function excel()
 {
     $data = Game::all();
     $kategori = Kategori::lists('kategori', 'id');
     Excel::create('ExportExcel' . Carbon::now() . '', function ($excel) use($data) {
         $excel->sheet('coba1', function ($sheet) use($data) {
             $sheet->fromArray($data);
         });
     })->export('xls');
 }