Continous Integration in der Praxis Gruppenarbeit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
712 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MiniGames.Shared.Models
  7. {
  8. public class TicTacToeBrett
  9. {
  10. int[,] Felder;
  11. public TicTacToeBrett()
  12. {
  13. Felder = new[,]
  14. {
  15. { -1, -1, -1 },
  16. { -1, -1, -1 },
  17. { -1, -1, -1 },
  18. };
  19. }
  20. public TicTacToeBrett(int[,] felder)
  21. {
  22. Felder = felder;
  23. }
  24. public bool Gleich(TicTacToeBrett anderes)
  25. {
  26. return true;
  27. }
  28. public bool set(int pos, int wert)
  29. {
  30. return true;
  31. }
  32. }
  33. }