public static bool ItemsGood(int[] items, int x, int y) { if (items[x] < 0) return Math.Abs(items[x]) >= y; return items[x] >= 16 - y; } }