Skip to content

Instantly share code, notes, and snippets.

View LevShab's full-sized avatar

Lev LevShab

  • Shkolnyk programist
View GitHub Profile
@LevShab
LevShab / GameJQ.html
Created October 31, 2015 06:52
GameJQ.html
<style>
.player{
width: 100px;
height: 100px;
background-color: #ff0000;
position: absolute;
}
.wall{
width: 100px;
height: 100px;
@LevShab
LevShab / Заготовочка.cs
Last active August 29, 2015 14:18
Заготовочка
string grapcard = "";
int card = random.Next(1, 13);
int clcard = random.Next(1, 4);
string[] cards = new string[] { "2 ", "3 " , ...};
string[] clcards = new string[] {"♥", ..};
grapcard = cards[card] + clcards[clcard];
string[] card = new string[15];
card[0] = " ________________ ";
card[1] = String.Format("| {0} |", grapcard);
for (int i = 2; i < 12; i++)
@LevShab
LevShab / Заготовочка.cs
Created April 4, 2015 15:13
Заготовочка
string grapcard = "";
int card = random.Next(1, 13);
int clcard = random.Next(1, 4);
string[] cards = new string[] { "2 ", "3 " , ...};
string[] clcards = new string[] {"♥", ..};
grapcard = cards[card] + clcards[clcard];
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plus2
{
class Program
{
@LevShab
LevShab / Game.cs
Last active August 29, 2015 14:16
Game
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
class Program
{
@LevShab
LevShab / License2.cs
Last active August 29, 2015 14:15
License2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace License2
{
class Program
{
@LevShab
LevShab / License.cs
Created February 21, 2015 20:36
License
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
static void Main(string[] args)
{
string LICENSE_CONFIRM = "Согласны ли вы с условием лицензионного соглашения? (yes/no)";