Example Programs

cancel
Showing results for 
Search instead for 
Did you mean: 

Snake game in LabVIEW

 

Overview
This example LabVIEW Project shows an implementation of the Snake Game.


Description
1. Field is based on the array of color boxes of different colors (green for snake, red for apple).

  1. The size of the snake and speed increases once apple is eaten.
  2. It is possible to go through walls.
  3. Game is over once a head of the snake hits a body.

Requirements

  • LabVIEW 2015(or compatible)


Steps to Implement or Execute Code

 

  1. Extract "Snake.zip".
  2. Open "Snake_game" LabVIEW project.
  3. Run "Snake" VI.
  4. Press right or down arrow to start the game.

 

Additional Information or References
VI Block Diagram

 

 

 

 

 

 

SNAKE.PNG **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Comments
Member ᴮᴬᴿᵀ
Member

Seems to be in LabVIEW 2013 not 8.6

Member paolo26
Member

Hi,

 

This looks like a really cool game. Do you think that this can be implemented using an 8x8 LED Matrix with MAX7219 as well as a pair of buttons as it's controller?

 

With regards,
Paolo