Level 25
foreach($tags as $tags)
{
$query->where('game_id', $tags);
}
Will append each where clause as an AND, so it will only fetch results where ALL of your tags are present.
Either use:
$query->whereIn('game_id', (array)$tags);
or
foreach($tags as $tags)
{
$query->orWhere('game_id', $tags);
}