Files
WIR-MACHEN-ALLE-ARM/Casino/Slot System.cs
T
2026-09-01 10:05:46 +02:00

42 lines
852 B
C#

using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Casino
{
public class Slot_System
{
int[,] slots = new int[3, 6];
public async Task roll()
{
int counter =0;
while (counter<15) {
for (int i = 0; i < slots.GetLength(1); i++)
{
slots[2, i] = slots[1, i];
slots[1, i] = slots[0, i];
slots[0, i] = randomize();
}
counter++;
await Task.Delay(1000);
}
}
private int randomize()
{
Random ran = new Random();
int temp = ran.Next(2, 11);
return 0;
}
}
}