Ativan prescription no
What is generic Phentermine
Soma online
Ultram online united states
Buy Tramadol search
Valium 10mg effect side effect
Can you buy Ambien over the counter in canada
Prednisone Ambien 10mg
Ambien for post-traumatic stress disorder
Lorazepam online prescription
Adipex online blog
Lorazepam with hyponatremia
Buy Lorazepam online cheap
Lorazepam with copd
Ambien without sleep
Phentermine prescription weight loss drug
Generic lexapro Ambien
Can i take 15mg of Ambien
Adipex online reviews
Ambien online blogs
Clonazepam with elderly
Ambien omg
Valium 10 mg compared to xanax
Cheap Ambien uk
Purchase Tramadol no rx
Ambien generic medicine
Cheap Ativan no script
How to get a prescription for Xanax
Buy Lorazepam doctor
Clonazepam with pregnancy
Soma online drug
Lorazepam with ambien
Ambien generics
Phentermine prescription arizona
Is it ok to take 20mg of Ambien
Generic Lorazepam
Buy Ativan with overnight delivery
Cheap Soma oklahoma
Generic Ambien white
Cheap Tramadol florida
Buy Klonopin online overnight
Ativan prescription narcotic
Buy Tramadol uk
Ambien generic india
Ambien 15 mg dosage
Generic Valium vs brand
Ambien 50mg
Buy Lorazepam without prescriptions
Order Tramadol united states
Ambien sale no prescription
Phentermine prescription drug facts
Xanax generic to buy
Buy Modafinil egypt
Generic Provigil will available
Generic Ambien blue pill
Order Xanax usa
Where to buy Modafinil in bangkok
Buy Valium dominican republic
Valium 10mg percocet
Tramadol online medication
Buy Lorazepam without prescriptions
Ultram with food
Ativan online canada
Lorazepam with diazepam
Lorazepam withdrawal benzodiazepines
Buy Ativan us pharmacy
Buy Xanax line
Buy Ativan cyprus
Buy Modafinil in europe
Buy Adipex in canada
Ambien generic medicine
Lorazepam prescription online
Order diazepam online legal
Ambien generic problems
Purchase Tramadol no prescription
Phentermine hcl online
Buy Xanax bars no prescription
Valium xanax generic
Soma online with no prescription
Lorazepam with hyponatremia
Generic Lorazepam drug
Buy Tramadol arizona
Ambien generic medicine
Lorazepam sale online
Cheap Phentermine 37.5 mg
Lorazepam with weed
Generic Ambien yahoo answers
Lorazepam with ambien
Order Tramadol phone
Tramadol online free shipping
Lorazepam with copd
Ambien online no
Buy Phentermine knoxville tn
Lorazepam sale
Buy Phentermine phendimetrazine
Ativan canada buy
Ambien online no
Buy Adipex blogs
Clonazepam with carisoprodol
Diazepam with paroxetine
Generic Clonazepam odt
Ambien without a rx
Buy Lorazepam online no prescription
Generic Klonopin the best
Buy Phentermine generic online
Tramadol online no prescription uk
Buy Ativan no prescription
Xanax online rating
Generic Klonopins
Buy Soma seeds
Zolpidem prescription free
Buy Tramadol online uk
Buy Phentermine md
Valium 2mg price
Generic Provigil from india
Buy Ativan Lorazepam
How to write a prescription for Xanax
Modafinil online where to buy
Buy Ativan withdrawal
Mixing Lorazepam with alcohol
Buy Ambien no prescription overnight
Lorazepam with diphenhydramine
Ambien canada online
Valium 2mg
Cheap Soma free shipping
Order Lorazepam cheap
Cheap Clonazepam script
Generic Ambien orange pill
Order Ativan europe
Generic Adipex information
Buy Xanax europe
Ultram prescription free
Order Ambien overnight
Buy Phentermine blue white capsules online
Purchase Ativan online
Provigil with fibromyalgia
Zolpidem with adderall
Ambien used sleep disorders
Ambien does it require a prescription
Ambien 5mg pictures
Diazepam online pharmacy no prescription
Order Ativan no prescription
Lorazepam with a prescription
Buy cheap Modafinil uk
Generic Provigil weight loss
Buy Ativan online
Buy Alprazolam 2mg usa
Order Phentermine yellow
Generic Klonopin 2mg pills
Buy Phentermine md
Klonopin prescription how to
Phentermine online sales
Soma prescription drug carisoprodol
Ambien cheap no rx
Ativan prescription drug
Buy Soma muscle relaxers
How much does Ambien cr cost without insurance
Xanax long does last 5mg
Lorazepam online pharmacy
Buy Modafinil in malaysia
Ambien generic problems
What is the street value of Xanax 2mg
Buy Ativan france
Generic Ativan forum
Xanax online mastercard

Engellere Çarpmama Oyunu

Bu oyunda klavyedeki yön tuşları ile hareket eden cisimlere çarpmadan en yukarı
çıkmaya çalışıyoruz. En sona gelirsek yeni açılan formda kazandınız yazıyor. Eğer
bir engele çarparsak açılan formda kaybettiniz yazıyor.

Eğitsel Oyun, C#

Visual Studio 2005 ile yapıldı. (c# 2.0 ımsı)
Kodları indirmek için Tıklayınız

Form Nesnesindeki Kodlar

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
 
namespace _1021042___proje_28_nisan
{
public partial class Form1 : Form
{
int durum1, durum2, durum3, durum4 = 0;
int sol1 = 270;
int sol2 = 100;
int sol3 = 250;
int sol4 = 280;
 
public Form1()
{
    InitializeComponent();
}
 
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (panel1.Top < 80)
{
    Form2 frm2 = new Form2();
    Form1 frm1 = new Form1();
    Label yazi = new Label();
    frm2.Show();
    frm2.Controls.Add(yazi);
    yazi.Text = "Kazandınız";
    yazi.Font = new Font("Microsoft Sans Serif",
                   15.75F, FontStyle.Regular);
    yazi.Location = new Point(100, 100);
    yazi.AutoSize = true;
}
 
if (e.KeyCode == Keys.Left)
{
    if (panel1.Left <= 100)
    panel1.Left = 100;
    else if (panel1.Left != 100)
    panel1.Left = panel1.Left - 4;
}
 
if (e.KeyCode == Keys.Right)
{
    if (panel1.Left >= 400)
    panel1.Left = 400;
    else if (panel1.Left != 400)
    panel1.Left = panel1.Left + 4;
}
 
if (e.KeyCode == Keys.Up)
{
    if (panel1.Top <= 0)
        panel1.Top = 0;
    else if (panel1.Top != 0)
        panel1.Top = panel1.Top - 4;
}
 
if (e.KeyCode == Keys.Down)
{
    if (panel1.Top >= 350)
        panel1.Top = 350;
    else if (panel1.Top != 350)
        panel1.Top = panel1.Top + 4;
}
}
 
private void timer1_Tick(object sender, EventArgs e)
{
    if (durum1 == 1)
        sol1 += 5;
    else
        sol1 -= 3;
 
    if (sol1 < 100)
        durum1 = 1;
 
    if (sol1 > 320)
        durum1 = 2;
 
    panel4.Location = new Point(sol1, 100);
 
    if (panel1.Left > panel4.Left & panel1.Left < panel4.Left + 80)
    {
        if (panel1.Top < panel4.Top + 20 & panel1.Top > panel4.Top)
        {
            timer1.Enabled = false;
            Form2 frm2 = new Form2();
            Form1 frm1 = new Form1();
            Label yazi = new Label();
            frm2.Show();
            frm2.Controls.Add(yazi);
            yazi.Text = "Kaybettiniz";
            yazi.Font = new Font("Microsoft Sans Serif",
                           15.75F, FontStyle.Regular);
            yazi.Location = new Point(100, 100);
            yazi.AutoSize = true;
        }
    }
}
 
private void timer2_Tick(object sender, EventArgs e)
{
    if (durum2 == 1)
        sol2 += 5;
    else
        sol2 -= 5;
 
    if (sol2 < 100)
        durum2 = 1;
 
    if (sol2 > 320)
        durum2 = 2;
 
    panel5.Location = new Point(sol2, 162);
 
    if (panel1.Left > panel5.Left & panel1.Left < panel5.Left + 80)
    {
        if (panel1.Top < panel5.Top + 20 & panel1.Top > panel5.Top)
        {
            timer2.Enabled = false;
            Form2 frm2 = new Form2();
            Form1 frm1 = new Form1();
            Label yazi = new Label();
            frm2.Show();
            frm2.Controls.Add(yazi);
            yazi.Text = "Kaybettiniz";
            yazi.Font = new Font("Microsoft Sans Serif",
                          15.75F, FontStyle.Regular);
            yazi.Location = new Point(100, 100);
            yazi.AutoSize = true;
        }
    }
}
 
private void timer3_Tick(object sender, EventArgs e)
{
    if (durum3 == 1)
        sol3 += 7;
    else
        sol3 -= 7;
 
    if (sol3 < 100)
        durum3 = 1;
 
    if (sol3 > 320)
        durum3 = 2;
 
    panel6.Location = new Point(sol3, 224);
 
    if (panel1.Left > panel6.Left & panel1.Left < panel6.Left + 80)
    {
        if (panel1.Top < panel6.Top + 20 & panel1.Top > panel6.Top)
        {
            timer3.Enabled = false;
            Form2 frm2 = new Form2();
            Form1 frm1 = new Form1();
            Label yazi = new Label();
            frm2.Show();
            frm2.Controls.Add(yazi);
            yazi.Text = "Kaybettiniz";
            yazi.Font = new Font("Microsoft Sans Serif",
                            15.75F, FontStyle.Regular);
            yazi.Location = new Point(100, 100);
            yazi.AutoSize = true;
        }
    }
}
 
private void timer4_Tick(object sender, EventArgs e)
{
    if (durum4 == 1)
        sol4 += 5;
    else
        sol4 -= 5;
 
    if (sol4 < 100)
        durum4 = 1;
 
    if (sol4 > 320)
        durum4 = 2;
 
    panel7.Location = new Point(sol4, 286);
 
    if (panel1.Left > panel7.Left & panel1.Left < panel7.Left+80)
    {
        if (panel1.Top < panel7.Top + 20 & panel1.Top >panel7.Top)
        {
            timer4.Enabled = false;
            Form2 frm2 = new Form2();
            Form1 frm1 = new Form1();
            Label yazi = new Label();
            frm2.Show();
            frm2.Controls.Add(yazi);
            yazi.Text = "Kaybettiniz";
            yazi.Font = new Font("Microsoft Sans Serif",
                         15.75F, FontStyle.Regular);
            yazi.Location = new Point(100, 100);
            yazi.AutoSize = true;
        }
    }
}
}
}
Be Sociable, Share!

    Category: Csharp - C# - Comments Off

    Comments are closed.

    Back to top