Welcome  everyone Namaste My blog praveen hirachan Nepal Japan

Thursday, May 1, 2014

How to make a simple "Maze Game" using C# for beginners

Wondering how to make your first simple Game using C#. If you are new to programming world then may be you are wondering if You could actually make anything like a "GAME" in C language.
Of course, you can. Here I have again created a new tutorial video on how  to make  a simple "Maze Game" using C# for beginners.


Code 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace maze_game
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            MoveToStart();
     
        }

        private void label1_MouseEnter(object sender, EventArgs e)
        {
            MessageBox.Show("Congratulation");
            Close();
        }
        private void MoveToStart()
        {
            Point startingPoint = panel1.Location;
            startingPoint.Offset(10, 10);
            Cursor.Position = PointToScreen(startingPoint);
        }

        private void label2_MouseEnter(object sender, EventArgs e)
        {
            MoveToStart();
        }
        int flag = 0;
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (flag == 0)
            {
                label13.Enabled = true;
                label13.Visible = true;
                flag = 1;
            }
            else
            {
                label13.Enabled=false;
                label13.Visible=false;
                flag=0;
            }
        }
       

     

        

       
    }

}




Tuesday, April 29, 2014

जापानमा गायक राजु लामा(मंगोलियन हर्ट)को गोल्डेन विक कन्सर्ट भव्यताका साथ सम्पन्न भयो I

अप्रिल २७ तारिक आईतबार को दिन टोकियोको इकिबुकुरो स्टेसन नजिक रहेको तोशिमा कोउखाईदोउ हलमा गायक राजु लामा(मंगोलियन हर्ट)को गोल्डेन विक कन्सर्ट भव्यताका साथ सम्पन्न भयो I सुदिन गुरुङ्को संयोजकत्वमा "नेपाल जापान युथ क्लब"र "वि फर अल"दुई संस्था मिलेर आयोजना गरिएको उक्त साङ्गेतिक कार्यक्रममा दर्सकले खचा खच भरिएको थियो I कार्यक्रम हेर्न करिब ५०० को हाराहारीमा टोकियो र टोकियो बाहिर टाढा टाढा शहर बाट पनि दर्शक आएका थिए I रास्ट्रिय गान बाट सुरुवात् गरिएको उक्त कार्यक्रम करिब सवा दुइ घण्टा सम्म चलेको थियो I साढे पाँच बाट सुरु हुने भनिए पनि करीब सात बजे मात्र सुरु गरिएको कार्यक्रममा जब गायक राजु लामा नेपालको रास्ट्रिय झन्डा बोकी"मेरो नेपाल" गाउदै स्टेजमा निस्किए तब दर्सकहरु सब उभिएर ताली बजाउदै लामा संग सगै गीत गाउदै उनलाई साथ दिदाको क्षण मनोमहोक थियो I कार्यक्रम महिला संचालिका माया गुरुङ द्वारा संचालन गरिएको थियो I यसरि गायक राजुलामाले दुई चरणमा आफ्नो चर्चित गीतहरु गाउदा दर्सकहरु उनका गीतमा खुब झुम्मिए बेला बेलामा संगीत प्रेमी दर्सकका भिड स्टेजमै उक्लेला झैँ गर्थे तर जापान युथ क्लब र वि फर अलका स्वयम सेवकहरुले भिड नियत्रण गरे पनि निकै नै मेहनत गर्नु पर्यो I नियन्त्रण गर्न I कार्यक्रमको मध्य तिर गायक लामालाई नेपाल जापान युथ क्लब र वि फर अलका अदक्षद्वय टाशी लामा र सरोज खत्रीले सम्मानार्थ खादर्पण पनि गरिएको थियो I गायक लामाका साथ साथै जापानमै बसोबास गर्ने नेपाली स्थानिय कलाकारहरुले पनि राम्रो प्रस्तुति दिए Iसरिता लालचन,अमर गुरुङ, बिमला गुरुङ ,सितल योञ्जन ,सुदिन गुरुङ ,इलुजन ब्याण्ड हरुले पनि दर्सकलाई खुब मनोरंजन प्रदान गरे राजु लामाको "सायद तिम्रो बाटोमा " गित सके लगत्तै कार्यक्रम सकिएको घोसणा गरिए पनि संगीतमा झुमिरहेको दर्सकहरु भने वान्स मोर

 



Monday, April 28, 2014

Avril Lavigne new sing "Hello Kitty" hits over 9 million view in six days...

 Avril Lavigne new sing "Hello Kitty" hits over 9 million view in six days.The music video for "Hello Kitty" was filmed in Japan and  have been criticized for its poor portrayal of Japanese culture by many.It was first premiered on Lavigne's official website on 21 April 2014,It was removed from her YouTube channel amid criticism that it was culturally insensitive and lacked energy. 


Although an official spokesperson stated that the song's video was never officially released and was stated to go live that Wednesday,It was re-uploaded to her official VEVO/YouTube channel on 23 April.And now,when the music video has came on its sixth day since its release,  Avril Lavigne new music video  "Hello Kitty" has already been viewed   over 9 million times in its sixth day of release .
Check this out.




Thursday, April 24, 2014

U.S. President Barack Obama and the humanoid robot ASIMO .

President Barack Obama and Honda Motor Co.'s humanoid robot ASIMO, an acronym for Advanced Step in Innovative Mobility, bow to each other during a youth science event at the National Museum of Emerging Science and Innovation in Tokyo on Thursday, April 24.


Popular Posts