create account

Rust Project Video -- Full Featured Snake Game by tensor

View this thread on: hive.blogpeakd.comecency.com
· @tensor ·
$17.68
Rust Project Video -- Full Featured Snake Game
_This was a much longer undertaking then I had anticipated.  I believe the next longest Video I have ever done was about 25 minutes long._ 

Originally, I was considering making a __toy block-chain__ project with Rust, but I decided that that would not be visual enough if coded in Rust alone.  I _will_ do the __block-chain__ project in the future but It will probably be a dual language tutorial; I would very much like to be able to add a full featured front-end so that new people will better understand blockchain technology.  

I also considered doing a command line tool like __wget__ or __curl__.  I choose to not go with this route because it was too much code; ironically, the snake game was bigger in the end.     

Anyhow, I hope you guys enjoy this programming tutorial non-the-less.  I find that Snake is one of the more optimal project choices when you are first learning a new language because of how many different language features it demands you use.  

Github source code: [Here](https://github.com/tensor-programming/snake-tutorial)

<iframe width="560" height="315" src="https://www.youtube.com/embed/DnT_7M7L7vo" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 35 others
properties (23)
authortensor
permlinkrust-project-video-full-featured-snake-game
categorysteemstem
json_metadata{"tags":["steemstem","technology","science","programming","steemeducation"],"image":["https://img.youtube.com/vi/DnT_7M7L7vo/0.jpg"],"links":["https://github.com/tensor-programming/snake-tutorial","https://www.youtube.com/embed/DnT_7M7L7vo"],"app":"steemit/0.1","format":"markdown"}
created2017-12-08 05:26:27
last_update2017-12-08 05:26:27
depth0
children11
last_payout2017-12-15 05:26:27
cashout_time1969-12-31 23:59:59
total_payout_value13.567 HBD
curator_payout_value4.114 HBD
pending_payout_value0.000 HBD
promoted0.020 HBD
body_length1,217
author_reputation87,856,203,149,624
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,738,909
net_rshares4,794,885,117,885
author_curate_reward""
vote details (99)
@abasinkanga ·
_**Your post has been resteemed to my 2500 followers**_

* I just activated the [**Power Resteem Service**](https://steemit.com/life/@abasinkanga/power-resteem-to-2500-followers-resteems-get-you-more-post-engagements-25) for this post

##### Upvote this comment if you like this service
👍  
properties (23)
authorabasinkanga
permlinkre-tensor-rust-project-video-full-featured-snake-game-20171208t075115310z
categorysteemstem
json_metadata{"tags":["steemstem"],"links":["https://steemit.com/life/@abasinkanga/power-resteem-to-2500-followers-resteems-get-you-more-post-engagements-25"],"app":"steemit/0.1"}
created2017-12-08 07:51:24
last_update2017-12-08 07:51:24
depth1
children0
last_payout2017-12-15 07:51:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length286
author_reputation10,395,892,449,375
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,747,943
net_rshares5,641,185,805
author_curate_reward""
vote details (1)
@justtryme90 ·
<center>![](https://steemitimages.com/DQmPS6nFRcwxRzLY2gHggH2Sq9HgFQTf8Tgqn7UvNgr72n1/image.png)</center>
properties (22)
authorjusttryme90
permlinkre-tensor-rust-project-video-full-featured-snake-game-20171208t123241387z
categorysteemstem
json_metadata{"tags":["steemstem"],"image":["https://steemitimages.com/DQmPS6nFRcwxRzLY2gHggH2Sq9HgFQTf8Tgqn7UvNgr72n1/image.png"],"app":"steemit/0.1"}
created2017-12-08 12:32:45
last_update2017-12-08 12:32:45
depth1
children0
last_payout2017-12-15 12:32:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation140,118,479,939,905
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,768,319
net_rshares0
@minnowpowerup ·
@MinnowPowerUp summary from December 09, 2017
You have collected your daily Power Up! This post received an upvote worth of 0.32$.
[Learn how to Power Up Smart here!](https://steemit.com/steemit/@minnowpowerup/introducing-minnowpowerup-a-paid-subscription-based-daily-upvote-bot-that-draws-its-power-from-a-delegation-pool)
https://steemitimages.com/DQmQxdQrRLJQjMQFKJgGLQT8tnub5SogfuvUNmkmNyqLrbd/logo.png
properties (22)
authorminnowpowerup
permlinkre-rust-project-video-full-featured-snake-game-20171209t201953
categorysteemstem
json_metadata"{"app": "pysteem/0.5.4"}"
created2017-12-09 20:19:51
last_update2017-12-09 20:19:51
depth1
children0
last_payout2017-12-16 20:19:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length360
author_reputation5,690,564,233,955
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,923,344
net_rshares0
@pangoli ·
Tensor, Sir,  are you on discord? Would love to talk a bit...  Any simple suggestions of some simple programs I could develop on languages like java, c# and python?  I'd appreciate if I could connect on a more personal level.
properties (22)
authorpangoli
permlinkre-tensor-rust-project-video-full-featured-snake-game-20171208t184130898z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2017-12-08 18:41:36
last_update2017-12-08 18:41:36
depth1
children2
last_payout2017-12-15 18:41:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length225
author_reputation66,834,329,736,250
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,801,594
net_rshares0
@tensor · (edited)
Alright; right this moment I do not have time to talk on a voice chat service since I'm in an office, but I can give you some general advice.  

Every single language has an ["awesome"](https://github.com/vinta/awesome-python) github repository (Just google "Language name + awesome").   You can use these repos to see the types of libraries are popular for the given language you are working in and use that for ideas.  The one I linked in above is one of the "python awesome" repositories.  You can use this repo to get general ideas on projects.  For instance, if you want to focus on data science, you might want to do something in TensorFlow or Theano and if you decide to do a web app, you can also choose to build a project with a web framework like Django or Flask etc.  

Its also a good idea to go through github repositories and look at various programs that exist in the target language.  For instance, with rust, I might look for implementations of a specific command line tool or a game similar to snake and I will then take a few notes from the code base.  Often times, you will find fairly large programs so its up to you to scale them down for viewers. 

The rest of the stuff that I choose, I just choose through experience.  I've had real world experience with all of the languages that I teach.  That makes it easier for me to know what kind of programs I should and shouldn't try to build.  

For Java, C# and Python, you have many similar choices.  They all have many great UI frameworks and you can use them to build android applications as well.  You can do Web apps, games and data science in all of them.  They are all well established programming languages with very good documentation.  I would also recommend you look at other tutorials and use them to get a little bit of inspiration.

If you have any questions feel free to ask.
properties (22)
authortensor
permlinkre-pangoli-re-tensor-rust-project-video-full-featured-snake-game-20171208t200047549z
categorysteemstem
json_metadata{"tags":["steemstem"],"links":["https://github.com/vinta/awesome-python"],"app":"steemit/0.1"}
created2017-12-08 20:00:45
last_update2017-12-08 20:15:54
depth2
children1
last_payout2017-12-15 20:00:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,859
author_reputation87,856,203,149,624
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,808,080
net_rshares0
@pangoli ·
Thank you very much Sir.. I'll check the link now.. I appreciate this 
http://isbet.net/images/Pangoli.jpg
properties (22)
authorpangoli
permlinkre-tensor-2017129t25558872z
categorysteemstem
json_metadata{"tags":"steemstem","app":"esteem/1.4.6","format":"markdown+html","community":"esteem"}
created2017-12-09 01:56:06
last_update2017-12-09 01:56:06
depth3
children0
last_payout2017-12-16 01:56:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation66,834,329,736,250
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries
0.
accountesteemapp
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,832,686
net_rshares0
@qurator ·
Quratorcomment
<center>Qurator</center> | <center>Your Quality Content Curator</center>
-|-|
![](https://steemitimages.com/DQmNzJZFNXnViq9Ebmccf3rLi7kiYrcHFnFqeKK7QnWYtRs/COMMENT.png) | This post has been upvoted and given the stamp of authenticity by @qurator. To join the quality content creators and receive daily upvotes click [here](https://steemit.com/qurator/@qurator/qurator-update-cheaper-tier-access-and-increased-registration-fee) for more info. 
<center>*Qurator's exclusive support bot is now live. For more info click [HERE](https://steemit.com/qurator/@qurator/qurator-support-bot-alive-and-active-welcome-to-qustodian) or send some SBD and your link to @qustodian to get even more support.*</center>
properties (22)
authorqurator
permlinkre-tensor-rust-project-video-full-featured-snake-game-20171208t054427209z
categorysteemstem
json_metadata""
created2017-12-08 05:44:45
last_update2017-12-08 05:44:45
depth1
children0
last_payout2017-12-15 05:44:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length700
author_reputation1,649,784,012,827,461
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,740,005
net_rshares0
@stealthgoat ·
@tensor payed 1.0 SBD to @minnowbooster to buy a stealth upvote.<br><br><a href="https://steemd.com/tx/17fdea300bd4f5ca83d0ca803f2597535dd8f73c">transaction-id 17fdea300bd4f5ca83d0ca803f2597535dd8f73c</a><br><br><img src="https://steemitimages.com/DQmTXdfMSPGNzsdQRoPAUAm8Xc9gDDM47QfiBLsJAck4iA4/goat-2153622_640.jpg"><br><br>@stealthgoat
properties (22)
authorstealthgoat
permlinkre-rust-project-video-full-featured-snake-game-20171210t002337
categorysteemstem
json_metadata"{"app": "pysteem/0.5.2"}"
created2017-12-10 00:23:36
last_update2017-12-10 00:23:36
depth1
children0
last_payout2017-12-17 00:23:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length338
author_reputation-842,012,713,265
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,940,157
net_rshares0
@steemitboard ·
Congratulations @tensor! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@tensor) Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

> By upvoting this notification, you can help all Steemit users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-tensor-20171210t093917000z
categorysteemstem
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2017-12-10 09:38:57
last_update2017-12-10 09:38:57
depth1
children0
last_payout2017-12-17 09:38:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length682
author_reputation38,975,615,169,260
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,975,496
net_rshares0
@tensor ·
@originalworks
properties (22)
authortensor
permlinkre-tensor-rust-project-video-full-featured-snake-game-20171208t054239888z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["originalworks"],"app":"steemit/0.1"}
created2017-12-08 05:42:39
last_update2017-12-08 05:42:39
depth1
children1
last_payout2017-12-15 05:42:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation87,856,203,149,624
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,739,868
net_rshares0
@originalworks ·
originalworks
The @OriginalWorks bot has determined this post by @tensor to be original material and upvoted(1.5%) it! 
<center>![ezgif.com-resize.gif](https://steemitimages.com/DQmaBi37A5oTnQ9NBLH8YU4jpvhhmFauyvgg3YRrEJwskM9/ezgif.com-resize.gif)</center> 

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!
properties (22)
authororiginalworks
permlinkre-re-tensor-rust-project-video-full-featured-snake-game-20171208t054239888z-20171208t054343
categorysteemstem
json_metadata"{"app": "pysteem/0.5.4"}"
created2017-12-08 05:43:45
last_update2017-12-08 05:43:45
depth2
children0
last_payout2017-12-15 05:43:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length348
author_reputation79,292,026,602,057
root_title"Rust Project Video -- Full Featured Snake Game"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id22,739,928
net_rshares0