Falling Sand Game On An FPGA

This falling sand game runs on a field-programmable gate array. The Altera Cyclone II resides at the heart of that development board, running the game which was written in Verilog. [Skyler Schneider] modeled his project after a Java version of the game called Pyro Sand Game. He treats each pixel of the 640×480 VGA screen as its own cell, following a set of rules to change the cells around it. This is very similar to Conway’s Game of Life, except that there are different categories of cells that behave uniquely (oil, water, plant, fire, etc.) and gravity is a key factor. Of particular interest to us were the rules for each cell, and the method [Skyler] used to feed and sync the VGA output. After the break you can see his demonstration videos, which walk through all of the features including the Troll button.

[youtube=http://www.youtube.com/watch?v=UP2Dgi21O2c&w=470]

[youtube=http://www.youtube.com/watch?v=sxXG9xpgT5A&w=470]

[youtube=http://www.youtube.com/watch?v=TbLXzA9gz7w&w=470]

[Thanks Andrew]

17 thoughts on “Falling Sand Game On An FPGA

  1. forgive me because I dont know how to read, but did they code this in pure verilog, or are they using a “soft-core” fpga design where they only have to program an asm virtual “microcontroller” ? Either way good job.

Leave a Reply to TomCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.