alexanderepstein / snake Goto Github PK
View Code? Open in Web Editor NEWSimple snake game written in C for the Altera DE0-CV FPGA
Simple snake game written in C for the Altera DE0-CV FPGA
-Need four constants for direction representation ie currentDirection is Left, Left = 1.
Right = 2, Up = 3, Down = 4.
Naming convention is as follows: POS_X, NEG_X, POS_Y, NEG_Y. Use preprocessor directives (#defines)
Inserting a new link currently inserts the new link behind the head and advances the head.
Anyways in the game the snake will apear to have moved twice when it should have moved once. Depending on the speed of the game this could be a problem. WE SHOULD CONSIDER RESETTING THE INTERVAL TIMER ON UPDATE.. I'm not sure how big of a problem this is but resetting the timer could be a possible solution.
Please add function prototypes to remove warnings.
Add logic for updating pixel colors within the snake definitions file.
Every time the snake is moved we need to change 2 pixels around (front and back)
Some type of problem when eating part of the food after a new game. Does not detect always. Please look into.
Thread conflicts with push button and interval timer.
Look into locking the thread so only one can have access to snake at a time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.