fork download
  1. using System;
  2.  
  3. namespace Balloons_Pops_Game_Variant_Four
  4. {
  5. public class GameInitialization
  6. {
  7. private Player player;
  8. private FillGameBoard gameBoard;
  9.  
  10. public Player Player
  11. {
  12. get { return player; }
  13. set { player = value; }
  14. }
  15.  
  16. public FillGameBoard GameBoard
  17. {
  18. get { return gameBoard; }
  19. set { gameBoard = value; }
  20. }
  21.  
  22. public GameInitialization()
  23. {
  24. player = new Player();
  25. gameBoard = new FillGameBoard();
  26. }
  27.  
  28. public void Start()
  29. {
  30. ConfigurateEmptyLinesOfMessages.WriteWithEmptyLine(GameMessages.startNewGame);
  31. gameBoard.GeneratePlot();
  32. ConfigurateEmptyLinesOfMessages.Write(GameMessages.enterRowAndColumn);
  33. }
  34. }
  35. }
  36.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(7,17): error CS0118: `Balloons_Pops_Game_Variant_Four.GameInitialization.Player' is a `property' but a `type' was expected
prog.cs(8,17): error CS0246: The type or namespace name `FillGameBoard' could not be found. Are you missing a using directive or an assembly reference?
prog.cs(10,16): error CS0118: `Balloons_Pops_Game_Variant_Four.GameInitialization.Player' is a `property' but a `type' was expected
prog.cs(16,16): error CS0246: The type or namespace name `FillGameBoard' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 4 error(s), 0 warnings
stdout
Standard output is empty