You are on page 1of 9

A project presentation on

Design and simulation of “Snake” game using Verilog HDL


Presented by-
Devleena Gharami (2018VL14)
Microelectronics & VLSI design

Submitted to
Prof. R.K Nagaria
Department of Electronics and Communication Engineering, MNNIT Allahabad
Contents
 Introduction
 History of Snake Game
 Design Flow
 Description of Design
 Future Scope
 Reference
Requirements

 Xilinx ISE 14.7


 Xilinx Spartan 3E FPGA Kit
 VGA compatible Monitor
Introduction

 “Snake” is a game where the user maneuvers a line to eat items generated at random locations
in the designated play area. It leaves a trail behind, resembling a moving snake.
 The objective is to avoid running into a border or itself for as long as possible.
 Eating objects make the line grow in length which makes it more difficult as it goes on.
History of “Snake” Game

 First developed and published by Gremlin Industries in 1976 as a coin-operated arcade game

named “Blockade”.

 The first known personal computer version of this game , was named “Worm” was programmed in

1978 by Peter Trefonas in 1978.

 In 1997, for the first time, this game had its way onto the Nokia monochrome phones. They

continued to manufacture new models with the game installed throughout the next decade.
Design Flow

Game Start

Initialize and setup


objects

New Direction
Selected

No
Yes
Change current
location

Move snake in
current direction
Reset

Check for collisions

Yes Game Over


Collision with border

No
Yes
Collision with self

No
No Generate apple
Collision with apple
Yes randomly
Design Description

Block diagram of snake module Output waveform of snake module


Modification in future

• This project is designed at a very lower level. So further modifications can be done to
upgrade the game-
• It can be made with better graphics.
• Multiplayer option
• Adding more features like- Top score, Player profile
• Adding difficulty levels with more obstacles and speed
References

1. Spartan-3E FPGA Starter Kit Board User Guide, Xilinx., UG230(v1.2) Revised on January 20, 2011.
2. Samir Palnitkar, Verilog HDL: A Guide to Digital Design and Synthesis”, Sun Microsystems. Inc., USA,
2003.
3. https://www.fpga4fun.com/PongGame.html
4. https://en.wikipedia.org/wiki

You might also like