This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWPacmen | |
{ | |
internal class Program | |
{ | |
private const ConsoleColor WALL_COLOR = ConsoleColor.DarkCyan; | |
private const ConsoleColor PACMAN_COLOR = ConsoleColor.Yellow; | |
private const ConsoleColor SCORE_COLOR = ConsoleColor.Red; | |
private const ConsoleColor DOT_COLOR = ConsoleColor.White; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWPacmen | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.CursorVisible = false; | |
char[,] map = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWPersonnalRec | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddDossier = "1"; | |
const string CommandShowAllDossier = "2"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWPersonnalRec | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddDossier = "1"; | |
const string CommandShowAllDossier = "2"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWPersonnalRec | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddDossier = "1"; | |
const string CommandShowAllDossier = "2"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWShuffle | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] numbers = {1,2,3,4,5}; | |
GetShuffle(numbers); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWShuffle | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] numbers = {1,2,3,4,5}; | |
GetShuffle(numbers); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWUIE | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int health = 4; | |
int mana = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWUIE | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int health = 4; | |
int mana = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HWReadInt | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int userNumber = GetNumberFromUser(); | |
Console.WriteLine($"Вы ввели число: {userNumber}"); |
NewerOlder