Compare N Buy - Best deals and coupons compare

Compare N Buy dot blogspot dot com compares online price , deals and coupons available online exclusively for you and awards you additional cashback for making purchases through its links.HAPPY SHOPPING :D

  • Home
  • Best Deals
  • Amazon
  • Flipkart
  • Snapdeal
  • Coupons

LEADER-BOARD

Sunday, 1 May 2016

eBay 10 discount coupon code

flat 10% off!
  Coupon Code: EBYOFFER33
ebay comparenBuy ebay coupon ebay discount

Wednesday, 16 March 2016

HOW TO GET A JOB AT APPLE

“How To Get A Job At Apple” – CEO Tim Cook Explains

apple one infinite loop campusShort Bytes: In a recent interview which was a part of the 60 Minutes segment on Apple, Apple CEO Tim Cook detailed the qualities Apple needs in a candidate. These qualities include a desire to do things differently, a different way of looking at things, and a lot more. Read the article and know everything Apple CEO had to say.
How to get a job at Apple? What qualities does the world’s most valuable brand look for while going through your resume? In the recent 60 Minutes segment focused on Apple, Apple CEO Tim Cook  revealed more about Apple’s hiring process.Talking to veteran journalist Charlie Rose, Cook said that Apple looks for people who work for a different reason and are willing to change the world by working with passion and idealism. Calling the hiring process of Apple tough, Cook said that Apple needs the candidates who don’t take a no for an answer. “People that don’t take no for an answer. People who don’t accept the status quo,” he said. Sounds like Steve Jobs, right?
To be a part of Apple, you must be unsatisfied and know how to look at things differently. “People that can’t be told things are impossible. They can’t accept that,” Cook said.
Apple’s hiring process is very rigorous. To become an Apple employee, one needs to face 10-12 people who interview a candidate to study him/her from different point of views.
Cook says that there are tons of people in Apple who don’t agree with him and present a strong opinion to defend their point of view. According to Apple CEO, this quality inspired them to make things better.
“We’re looking for wicked smart people who have a point of view, and want to debate that point of view, and people that want to change something. People that want to make things better,” Cook said.
Watch the complete video here.
Tim Cook’s definition of a perfect candidate sounds just like Steve Jobs. Over the years, Apple has refined its work culture and hiring process, but some things haven’t changed much.
Add your views on Tim Cook’s interview in the comments below.


Source :- http://fossbytes.com/apple-ceo-tim-cook-tells-how-to-get-a-job-at-apple/

apple ceo apple hack at apple how to get job

Monday, 14 March 2016

Xiaomi Redmi Note 3

Redmi Note 3

Buy Xiaomi Redmi Note 3 from discounted link here. 

http://amzn.to/1ppdCpO

Your dream smartphone and that too at a reasonable price from Xiaomi.

Want a Smartphone that gets all the essential elements right? Shop online at the Amazon India Exclusive Redmi Note 3 sale on every Wednesday. Grab the first Smartphone that features an ultra-fast fingerprint sensor, Snapdragon 650 processor and a 4050mAh battery, the Redmi Note 3.


100000Registrations
BGR
Digitin
indiatoday
snapdragon 650
Processor
3GB Ram
FingerPrint
redmi note 3 with Metal Finish
4050 Battery
Redmi 4G LTE
Redmi 1080p 5.5 Display
Redmi 16MP Camera
Redmi Tech Specs
Redmi Full specs

Buy Redmi Note 3 only on Amazon.in

The Xiaomi Redmi Note 3 Smartphone has completely changed the way you share experiences and memories. It presents a new face of performance with the Snapdragon 650, an ultra-fast fingerprint sensor and a premium metal body that adds to its looks. Its high-performance processor leverages ARM’s flagship Cortex-A72 cores that ensures that your apps are alive in a split-second. Game-lovers will rejoice the next-gen Adreno 510 graphics processor that delivers an astounding gaming experience. Together with MIUI 7’s system-level speed optimisation, this Smartphone responds to your touch in a jiffy. It’s not just a Smartphone, it’s a new way of thinking what a Smartphone can achieve. Shop online at the Amazon India Exclusive sale and grab the Redmi Note 3 at unbelievable prices online.
The World at Your Fingertips, Shop at the Amazon Exclusive Redmi Note 3 Sale
There’s no doubt that fingerprint sensors have made Smartphones more personal than ever. With the Redmi Note 3, all you need to do is press your finger gently on the sensor and the Smartphone unlocks in 0.3 seconds. No more patterns or passcodes to remember. With the Redmi Note 3’s chip-level security, your fingerprint profile is stored securely. With the 4050mAh battery, this Smartphone gives you more time to call, connect or play without worrying about recharging it.
It’s not just setting new standards for Smartphone battery life, it lets you explore the world sans any limits by supporting a newer and faster 802.11ac Wi-Fi. Shop online at the Amazon India Exclusive sale and grab your dream phone at the best prices online. The Redmi Note 3 2GB + 16GB is available at INR 9998 and the Redmi Note 3 3GB + 32GB is available at INR 11998 during the sale on 9th March at 2 PM.
Picture a Clear Reality, Enjoy the Premium Touch of Metal
With a powerful 5MP front camera and a 16MP with 78 degree wide-angle, f/2.0 aperture back camera, the Redmi Note 3 delivers sharpness and clarity in every image irrespective of a selfie or normal images. It also features phase detection autofocus and options to beautify images. The enhanced assembly process of the Redmi Note 3 ensures that various sections of the back cover connect naturally.
amazon coupon cashback redmi note 3 redmi note 3 amazon buy redmi note 3 buy xiaomi

Friday, 11 March 2016

Ransomware targets Apple's Mac for the first time

Image result for Ransomware  mashable images
Ransomware hack

Apple customers were targeted by hackers over the weekend in the first campaign against Macintosh computers using a pernicious type of software known as ransomware, researchers with Palo Alto Networks said . Ransomware one of the fastest growing types of cyber threats, encrypts data on infected laptops or pcs.


Source :- mashable
apple hack apple ransomware macintosh

Sunday, 31 January 2016

LENOVO VIBE X3 REVIEW - NDTV GADGETS


Lenovo Vibe X3 Review


Lenovo Vibe X3 Review
Lenovo has been on a bit of a spree, launching a number of new smartphones in quick succession. The company is good at creating models that cater to specific needs, such as the Vibe P1 (Review | Pictures) with its oversized battery, the Vibe Shot (Review | Pictures) for camera lovers, the Vibe S1 (Review | Pictures) for those who care most about looks, and most recently, the Vibe K4 Note for the budget segment. We now have with us the brand new Vibe X3, which takes its place at the top of the heap as Lenovo's latest flagship.
The Lenovo Vibe X3 costs just Rs. 19,999 but packs a number of features and attributes that might make it a competitor to phones that cost way more. The spec sheet alone would give us quite a bit to dig our teeth into, but Lenovo has also tossed in a few things that it says improve the user experience in less tangible ways. We'll have to dig deep to find out if that's just a marketing line or if the Vibe X3 really does blow all its competition away.
lenovo_vibe_x3_rear_ndtv.jpgLook and feel
The Lenovo Vibe X3 looks nothing like the multi-coloured Vibe X2 (Review | Pictures) which launched in late 2014. In fact, it has a very strong resemblance to the Vibe K4 Note, which shouldn't be surprising considering the latter is sold in some territories as the Vibe X3 Lite. The phone comes in a slick oblong box, and you'll find a neat clear plastic case and adhesive screen protector along with the usual charger, USB cable, and headset.
At first glance, the screen appears to be enormous, with only narrow white plastic strips for the twin stereo speakers above and below it. However, what you see is actually the black Gorilla Glass 3 extending beyond the screen to encompass the front camera, sensors and status LED on top, and capacitive navigation buttons below.
The power and volume buttons are on the right, though a bit too low for our liking. There's a Hybrid SIM tray on the left, which means you get one slot for the first Nano-SIM and another slot for either a second Nano-SIM or a microSD card. This arrangement forces you to choose between a second line and additional storage, which we are never in favour of.
There's a 3.5mm audio socket on top, with a small IR emitter to keep it company. You can use this in conjunction with an included app to control a variety of devices. There's also a standard Micro-USB port on the bottom which interestingly allows you not only to charge and sync the phone as usual, but also to use the Vibe X3 as a power bank to charge other devices.
lenovo_vibe_x3_bottom_ndtv.jpgAround the back, you'll see the primary 21-megapixel camera and fingerprint sensor right below it. This is also where the phone's NFC radio is located, and Lenovo says that wireless payments will be supported when such services launch in India. You can also see a pretty big Dolby Atmos logo on the bottom.
The battery is sealed inside the phone's aluminium unibody. Lenovo says the matte white finish is resistant to smudges and fingerprints, but we found a few scuffs within minutes of taking the plastic cover off. We also noticed a few scratches on the silver chamfered edges after a day or two of careful usage.
lenovo_vibe_x3_sidecover_ndtv.jpgThe Vibe X3 is 9.3mm thick in the centre but this is masked quite effectively by the curvature of the back. It fits nicely in a palm, but using it one-handed is literally a stretch. The 175g weight is not as easy to compensate for, and you'll definitely feel it when using this phone for any length of time.
It isn't easy to reach the capacitive buttons on the bottom without feeling like the Vibe X3 will tip over. Amazingly for a phone that isn't scraping the bottom of the budget barrel, the buttons are not backlit. It would have made a lot more sense for Lenovo to have gone with on-screen buttons on this phone. The ergonomics are just not quite as good as we expect of a phone that claims to be its manufacturer's flagship.
lenovo_vibe_x3_top_ndtv.jpgSpecifications
Lenovo has struck a balance between cost and performance, and so the Vibe X3 has at its heart a Qualcomm Snapdragon 808 processor, which is one step below the current top-of-the-line Snapdragon 810, offering six CPU cores and integrated Adreno 418 graphics. There's also 3GB of RAM which should keep things chugging along smoothly. The 32GB of storage can be bumped up by 128GB if you're willing to forego a second SIM. Surprisingly, only 24.37GB was reported to be free on our review unit when we turned it on for the first time.
The screen measures 5.5 inches diagonally and has a resolution of 1080x1920. Again, this is one step below what other companies are offering on their flagships, but considering the price, we feel that this is probably the right balance of features for most people. Lenovo is quick to point out that the screen can reproduce 100 percent NTSC colour gamut, and that colours are consciously not oversaturated.
lenovo_vibe_x3_buttons_ndtv.jpgYou get Cat 6 4G LTE on Indian bands with support for carrier aggregation, if and when that is supported by service providers here. There's also Wi-Fi 802.11ac, Bluetooth, GPS, and NFC. USB-OTG functionality lets you store more files on a Micro-USB pen drive or a standard one using a dongle. The battery has a capacity of 3500mAh which should be more than enough to get through a full day of heavy use.
One of the most interesting facets of the Vibe X3 is its claimed high-end audio credentials. There's a Wolfson 8281 processor with a three-mic array to handle phone conversations, and an ESS Sabre 9018C2M DAC with three TI-OPA1612 OP amps which kicks in when you're playing music or videos. Lenovo also says the 3.5mm audio output is "studio grade" and "lossless".
lenovo_vibe_x3_camera_ndtv.jpgLenovo is also promoting its TheaterMax headset, which works with this phone and its cousin, the Vibe K4 Note. It sells for Rs. 1,299 extra which is a lot less than most VR headsets will cost. What it does is give you a cinematic experience when playing movies - you don't have to have specially prepared content. While interesting, it's not something you can wear on your daily bus or train ride, so we're not sure how much it will catch on. Lenovo did not send us a headset along with the Vibe X3, so we can't say anything about the experience yet.
Software
Lenovo has cleaned up its Vibe UI, which we're very glad to see. The default UI is a lot more like stock Android, including its dedicated app drawer. You can still switch back to the single-layer launcher if you like, but we don't think anyone will. There are of course customisations, most noticeably the notifications shade which has lots of additional quick-access toggles and a unique log feature that shows notifications you've dismissed in the past.
lenovo_vibe_x3_screens1_ndtv.jpg
The icons still seem childish to us and we didn't find any adequate replacement packs in the Theme Center app. Lenovo has preinstalled quite a lot of apps, ranging from its own SHAREit, SYNCit, and Lenovo Companion support app to Evernote, Facebook, Guvera Music, McAfee Security Route 66 Navigate, Shazam, Skype, Step Counter, Truecaller, Twitter, UC Browser, WeChat, and WPS Office. Game Store has some low-quality games that you can play after setting up a profile. Peel Smart Remote ties in to the IR emitter and shows program guides for local TV channels. There's also one game, Tap the Frog. All of this might explain all the missing storage space, but thankfully you can uninstall most of them.
There are also quite a few custom settings that help you get more out of the phone. You can double-tap the screen to wake the phone, and also flip it over to lock it immediately. You can take a photo directly from sleep by double-pressing either volume button, and use the fingerprint sensor as a shutter button. If you need to get something done with one hand, trace a C shape on either side of the screen to shrink the display by about two-thirds, making everything easier to reach.
lenovo_vibe_x3_screens2_ndtv.jpgCameras
The Vibe X3 has a 21-megapixel rear camera with phase-detection autofocus and an aperture of f2.0. You can record 4K video, though this isn't enabled by default. There's also a front-facing 8-megapixel camera. Lenovo promises multiple features for photographers, which mostly have to do with the software interface, but we didn't find much to be impressed with.
Lenovo's custom camera app takes a second or two to load and has been over-simplified. The app automatically detects lighting conditions and makes adjustments, but you can disable this if you like. There are also scene modes including Panorama, Art Nightscape, Artistic HDR, and Blur Background. Most options are two or three taps away and not really labelled well - in fact you can't get to the video settings when in video mode; you have to dip back into the standard photo mode, tap twice to get to the settings, and then once again to see video settings.
lenovo_vibe_x3_camsample_day1_ndtv.jpglenovo_vibe_x3_camsample_day2_ndtv.jpglenovo_vibe_x3_camsample_day3_ndtv.jpg(Tap to see full sized images)A Pro mode surfaces controls for some settings including shutter speed and focal depth, but there really isn't much you can do even so. Surprisingly, a menu appears when you switch to the front-facing camera, giving you control over mirroring, shutter release gestures, quality, and making the screen go bright for a second in lieu of a flash.
Photo quality is okay most of the time, but a few of our daylight shots were overexposed and shaky. Details and textures seemed to be artificially smoothened out with over-aggressive software compression. Colours were a bit on the dull side. Low-light shots came out okay but again, we wouldn't want to use them for anything other than casual social media sharing. You won't get anywhere with this camera if you need to zoom in to photos and see them at their actual size. On the other hand, 4K and 1080p videos came out looking crisp and motion was smooth.
lenovo_vibe_x3_camsample_night1_ndtv.jpglenovo_vibe_x3_camsample_night2_ndtv.jpg(Tap to see full sized images)Performance
One of Lenovo's main pushes with this phone is its screen, and true to its word, colours are vibrant and engaging without being oversaturated. Brightness can be pushed up to blinding levels and outdoor visibility is not a problem at all. As far as the Vibe X3's audio pedigree goes, there certainly is an improvement to sound reproduction when using good headphones. Dual front-firing speakers are always nice to see, and while these are loud, the sound isn't especially clear or engaging.
lenovo_vibe_x3_upright_ndtv.jpgThe Vibe X3 was comfortable to hold, though the capacitive buttons were definitely awkward. Since this phone is pretty much perfectly symmetrical, we often ended up jabbing the wrong side and getting frustrated when watching videos in landscape, especially in the dark. We also would have preferred it to have been a lot lighter. The rear did get slightly warm when we played games and ran benchmarks, but not enough to become a problem.
Formal benchmarks showed that this phone has quite a lot of power on tap. We got scores of 69,044 in AnTuTu and 26,200 overall in Quadrant. GFXBench ran at a very impressive 34fps, and 3DMark Ice Storm Unlimited managed 15,453 points.
lenovo_vibe_x3_slots_ndtv.jpgThe Vibe X3's battery lasted all day with plenty of usage including short bursts of 4K video recording, lots of Internet usage, and a bit of gaming. Our video loop battery test ran for 9 hours and 33 minutes, which was just a shade below our expectations.
Verdict
Lenovo has delivered very nearly the best components in circulation right now, and considering that the price is just shy of Rs. 20,000, this is not a bad thing by any means. The Vibe X3 aims to undercut popular phones such as the OnePlus 2 (Review | Pictures), Moto X Play (Review), and Nexus 5X (Review | Pictures) but is doing so on its own terms, by making the fight more about the end-user experience than raw specs alone. We were impressed with how much Lenovo has been able to cram in to a phone at this price, not just in terms of specifications but also the little touches. Unglamorous things like the notification shade improvements and the ability to charge small devices over USB show that a lot of thought has gone in to the creation of this product.
lenovo_vibe_x3_box_ndtv.jpgOn the other hand, if user experience is what matters the most, Lenovo has some rough edges to polish. The Vibe X3 is a bit too bulky and heavy, and not the easiest to hold or use. The biggest disappointment was the camera performance, and then there are other annoyances such as the hybrid SIM tray and off-balance capacitive buttons.
If you can live with these things, you'll find that the Lenovo Vibe X3 delivers excellent value for money. Lenovo has joined a growing list of companies that have made it hard for a lot of people to justify spending double or triple this amount of money for a flagship Android phone from a top-tier manufacturer.
Download the Gadgets 360 app for Android and iOS to stay up to date with the latest tech news, product reviews, and exclusive deals on the popular mobiles.
Lenovo Vibe X3

Lenovo Vibe X3

R 19999
  • Review
  • Key Specs
  • News
  • Design
  • Display
  • Software
  • Performance
  • Battery life
  • Camera
  • Value for money
  • Good
  • High-quality audio circuitry
  • Great specifications and performance
  • Good screen
  • Simple and useful UI modifications
  • Bad
  • A bit bulky and heavy
  • Mediocre cameras
  • Hybrid SIM slot

Tags: Android, Lenovo, Lenovo mobiles, Lenovo Vibe X3 battery, Lenovo Vibe X3 camera, Lenovo Vibe X3 features, Lenovo Vibe X3 performance, Lenovo Vibe X3 price, Lenovo Vibe X3 price in India, Lenovo Vibe X3 Review, Lenovo Vibe X3 specifications, Vibe X3, Vibe X3 Review
Android Lenovo LENOVO GADGETS NDTV Lenovo mobiles Lenovo Vibe X3 battery Lenovo Vibe X3 camera Lenovo Vibe X3 features LENOVO VIBE X3 REVIEW 2016 VIBE X3 VIBE X3 REVIEW

Wednesday, 20 January 2016

Republic Day sale 2016 - eBay


eBay Republic day Sale 2016 - coupons and disounts

eBay India Home Page Download the eBay App
Deals Mobiles Laptops Tv's Fashion Home eBay Guarantee
Banner Republic Day
sp
flat 7.5% ofF
  Coupon Code:DEMOCRAZY7  
Max. DiscountRs. 2000 | Valid till 26th Jan, 2016
On first come first serve basis | Not applicable on deals & discounted items
*T&C Apply
sp
bannner Motorola Coupon Promo
Xolo Prime
Xolo Prime
Rs. 4065 View All
Apple iPhone 5S 64GB Gold Imported
Apple iPhone 5S 64GB Gold Imported
Rs. 26467 View All
Dell Inspiron 5559 i7 6th Gen
Dell Inspiron 5559 i7 6th Gen
Rs. 52930 View All
Lenovo yoga 500 80N400MEIN
Lenovo yoga 500 80N400MEIN
Rs. 41209 View All
Samsung 43J5100 Imported
Samsung 43J5100 Imported
Rs. 29999 View All
Samsung 40J5100 Imported
Samsung 40J5100 Imported
Rs. 26999 View All
banner Philips DVD exclusive launch
Lava Xtron Z704
Lava Xtron Z704
Rs. 4629 View All
Canon 1200D with 18-55mm
Canon 1200D with 18-55mm
Rs. 20999 View All
Dell IPS 21 5 Full HD LED Monitor
Dell HD LED Monitor
 24% 
Rs. 9450 Buy Now
Alpine CDE-W265EBT Media Player
Alpine CDE-W265EBT Media Player
Rs. 13700 View All
refurbished deals
Xiaomi Mi4 16 GB
Xiaomi Mi4 16 GB
Rs. 11790 View All
Micromax Yureka Plus
Micromax Yureka Plus
Rs. 7890 View All
banner Trimmers and Shavers
Men s Clothing EXTRA 35 Off Use Code EBAYFASH35
Men's Clothing EXTRA 35% Off
Use Code: EBAYFASH35
Minimum 50% Off View All
Woodland Shoes EXTRA 35 Off Use Code EBAYFASH35
Woodland Shoes EXTRA 35% Off
Use Code: EBAYFASH35
Flat 35% Off View All
Accu-Chek Active 100 Test Strips
Accu-Chek Active 100 Test Strips
 32% 
Rs. 1090 Buy Now
Rogaine Foam Men Hair Loss
Rogaine Foam Men Hair Loss
Rs. 3660 View All
Diamond Gold Plated Engagement Ring
Diamond Gold Plated Engagement Ring
 35% 
Rs. 3640 Buy Now
Optimum Nutrition 100 Whey Protein
Optimum Nutrition 100 Whey Protein
 28% 
Rs. 5580 Buy Now
Non Stick Pan Buy one Get one
Non Stick Pan Buy one Get one
Rs. 460 View All
Folding Wardrobe
Folding Wardrobe
 41% 
Rs. 1475 Buy Now
Top Categories:
Tablets, Cameras, Mobile Accessories, Computer Peripherals, Home Appliances, Clothing & Accessories, Watches, Jewelry, Shoes, Baby & Mom, Furniture, Kitchen & Dining, Home Furnishings
Contact Us Password Reset Payback Earn & Redeem
Follow Us
Facebook eBay on Twitter eBay India on Google Plus ebay Instagram


eBay India Private Limited sent this e-mail to you because your Notification Preferences
indicate that you want to receive information about Special Promotions, Offers and Events
ebay coupon ebay coupon code ebay discount ebay republic day sale january 2016 coupons january discounts ebay
Newer Posts Older Posts
Subscribe to: Comments (Atom)

flipkart

Search This Blog

Popular Posts

  • शिवकुमार मिश्र और ज्ञानदत्त पाण्डेय का ब्लॉग: भारतीय चुनाव - एक निबंध
    शिवकुमार मिश्र और ज्ञानदत्त पाण्डेय का ब्लॉग: भारतीय चुनाव - एक निबंध
  • Amazon smartphone sale
    AMAZON SMARTPHONE SALE(LIVE) : upto 60% off ON PHONES June 20, 2017   By:  admin AMAZON GREAT SMARTPHONE SALE LIVE, BIGGEST SALE OF T...
  • 10 Facebook Tips and Tricks That You Should Know
    10 facebook tips and tricks to know 10 Facebook Tips and Tricks That You Should Know Facebook is the most popular social networking ...
  • FREECHARGE AUGUST 2016 COUPONS
    Freecharge Coupons All Freecharge Deals 47% OFFCODE Independence Day Special - Get Upto 47% Cashback on Recharge/Bill...
  • Nokia Lumia 930 review
    Nokia Lumia 930 review: Iconic once again T mobile smartphones Balance Reverse phone number look up Windows Xp ...
  • Micromax launches another budget oriented Canvas A2 at Rs 6,000
    Micromax launches another budget oriented Canvas A2 at Rs 6,000 Micromac canvas A2 Well its the successor of GOOGLE supported Ca...
  • Assasin's Creed Free movie download HD English with subtittles 720p
    Assasin's Creed Free movie download HD English with subtittles 720p Through a revolutionary technology that unlocks his genet...
  • Blogmint - Sociol Media marketing influencer, make money online
    Blogmint - social media earning Blogmint - Sociol Media marketing influencer, make money online BlogMint – Get Sponsored Po...
  • First Microsoft Lumia branded devices coming soon
    First Microsoft Lumia branded devices coming soon NEW DELHI: Microsoft has posted more details about the rebranding of Nokia...
  • LENOVO VIBE X3 REVIEW - NDTV GADGETS
    Lenovo Vibe X3 Review Lenovo has been on a bit of a spree, ...

Follow on Facebook

Powered by Blogger.

Labels

  • Android One (6)
  • Featured (11)
  • Home (7)
  • In Budget (5)
  • Nokia (1)
  • Online (5)
  • Online Retailers (6)
  • Privacy Policy (2)
  • microsoft (2)
  • samsung (1)

Labels

  • Featured
  • Home
  • In Budget
  • Online
  • Online Retailers
  • Privacy Policy
  • microsoft
  • samsung
  • windows

Tags

  • Android One
  • Featured
  • Home
  • In Budget
  • Online
  • Online Retailers
  • Privacy Policy
  • microsoft
  • samsung
  • windows

 

We are featured contributor on entrepreneurship for many trusted business sites:

    • CueLinks

      short

      Blogger news

      Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
    • SNAKE

      function init(){ canvas = document.getElementById('mycanvas'); W = H = canvas.width = canvas.height = 1000; pen = canvas.getContext('2d'); cs = 66; game_over = false; score = 5; //Create a Image Object for food food_img = new Image(); food_img.src = "Assets/apple.png"; trophy = new Image(); trophy.src = "Assets/trophy.png"; food = getRandomFood(); snake = { init_len:5, color:"blue", cells:[], direction:"right", createSnake:function(){ for(var i=this.init_len;i>0;i--){ this.cells.push({x:i,y:0}); } }, drawSnake:function(){ for(var i=0;i last_x || this.cells[0].y > last_y){ game_over = true; } } }; snake.createSnake(); //Add a Event Listener on the Document Object function keyPressed(e){ //Conditional Statments if(e.key=="ArrowRight"){ snake.direction = "right"; } else if(e.key=="ArrowLeft"){ snake.direction = "left"; } else if(e.key=="ArrowDown"){ snake.direction = "down"; } else{ snake.direction = "up"; } console.log(snake.direction); } document.addEventListener('keydown',keyPressed) ; } function draw(){ //console.log("In Draw"); //erase the old frame pen.clearRect(0,0,W,H); snake.drawSnake(); pen.fillStyle = food.color; pen.drawImage(food_img,food.x*cs,food.y*cs,cs,cs); pen.drawImage(trophy,18,20,cs,cs); pen.fillStyle = "blue"; pen.font = "20px Roboto" pen.fillText(score,50,50); } function update(){ //console.log("In Update"); snake.updateSnake(); } function getRandomFood(){ var foodX = Math.round(Math.random()*(W-cs)/cs); var foodY = Math.round(Math.random()*(H-cs)/cs); var food = { x:foodX, y:foodY, color:"red", } return food } function gameloop(){ if(game_over==true){ clearInterval(f); alert("Game Over"); return; } draw(); update(); } init(); var f = setInterval(gameloop,100);

      Labels

      • Featured
      • Home
      • In Budget
      • Online Retailers
      • Privacy Policy
      • samsung

      Total Pageviews

      sponsor

    • Pages

      • Home
      • Privacy Policy
      • About us
      • Contact Us
    • Contact Form

      Name

      Email *

      Message *

    Copyright © Compare N Buy - Best deals and coupons compare™ is a registered trademark.
    Designed by Templateism. Hosted on Blogger Templates.