Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.16 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace bomberman
  8. {
  9.     class Program
  10.     {
  11.         class mapa
  12.         {
  13.             public static void rysuj()
  14.             {
  15.                 for (int g = 0; g < 100; g++)
  16.                 {
  17.                     Console.Write("-");
  18.                 }
  19.                 Console.Write("\n");
  20.                 for (int g = 0; g < 30 - 2; g++)
  21.                 {
  22.                     Console.Write("|");
  23.                     for (int d = 0; d < 100 - 2; d++)
  24.                     Console.Write(" ");
  25.                     Console.Write("|");
  26.                     Console.Write("\n");
  27.                 }
  28.                 for (int d = 0; d < 100; d++)
  29.                 {
  30.                      Console.Write("-");
  31.                 }    
  32.             }
  33.         }
  34.         class przeszkody
  35.         {
  36.             public static void stworz()
  37.             {
  38.                
  39.             }
  40.         }
  41.         static void Main(string[] args)
  42.         {
  43.             mapa.rysuj();
  44.             przeszkody.stworz();
  45.             Console.ReadKey();
  46.         }
  47.     }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement