https://github.com/alexanderepstein/snake
Simple snake game written in C for the Altera DE0-CV FPGA
https://github.com/alexanderepstein/snake
altera c game snake
Last synced: 8 months ago
JSON representation
Simple snake game written in C for the Altera DE0-CV FPGA
- Host: GitHub
- URL: https://github.com/alexanderepstein/snake
- Owner: alexanderepstein
- Created: 2017-03-20T17:32:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T19:34:36.000Z (over 8 years ago)
- Last Synced: 2024-12-29T17:17:33.684Z (10 months ago)
- Topics: altera, c, game, snake
- Language: C
- Size: 487 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake
![]()
#### Simple snake game written in C for the Altera DE0-CV FPGA
### Download
```bash
cd ~
git clone https://github.com/alexanderepstein/Snake
```### Flash
* First make sure to have the altera monitor program installed with quartus lite 16.0 and the correct board drivers
* Open up the altera monitor program and start a new project
* Designate that the project is written in C
* Add all the files to the compiler
* Give the Altera DE0-CV resets and exceptions
* Download the DE0-CV Computer System onto the board
* Compile and load the program onto the board
* Press play to start### Controls
##### The keys are what designate the direction of the snake
* Key3 = Up
* Key2 = Down
* Key1 = Left
* Key0 = Right
##### Collect food to attain the highest score, follow onscreen instructions to start/replay the game